We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just a question, cannot figure out how to set right to left column order in a sheet?
<ExcelFile element={<button>Download Data</button>}> <ExcelSheet data={dataSet1} name="לשונית ראשונה" horizontal={"right"} > <ExcelColumn label="שדה 1" value="name"/> <ExcelColumn label="שדה 2" value="amount"/> <ExcelColumn label="שדה 3" value="sex"/> <ExcelColumn label="הרבה מילים" value={(col) => col.is_married ? "Married" : "Single"}/> </ExcelSheet> <ExcelSheet data={dataSet2} name="לשונית שניה" readingOrder={{horizontal:"right"}}> <ExcelColumn label="כאן יהיו" value="name"/> <ExcelColumn label="עוד הרבה" value="total"/> <ExcelColumn label="נתונים" value="remaining"/> </ExcelSheet> </ExcelFile>
The text was updated successfully, but these errors were encountered:
Use "Excel Export with Dataset", then in style set
alignment: {wrapText: true, horizontal: 'center', vertical: 'top'}.
For example:
[ columns: [{…}], data:[ [{ value: 'Text', style: { font: { sz: '12' }, alignment: {readingOrder:2 wrapText: true, horizontal: 'center', vertical: 'top' }, border: { bottom: { style: 'thin', color: { rgb: '000000' } } } }] ]
alignment: {readingOrder:2
Sorry, something went wrong.
No branches or pull requests
Just a question, cannot figure out how to set right to left column order in a sheet?
The text was updated successfully, but these errors were encountered: