on ‎2019 May 24 1:06 PM
Hi everyone.
Could you please suggest, how to set column width for smart table?
Request clarification before answering.
Hi Igor,
For tree table or Grid table, you can go to Visual editor of your project, Go to edit mode and open your List report page, select column and see the column width and you can play with the width size. In some case it doesn't behave properly but after some trial error, I was able to achieve it.
Regards,
Tejas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teja,
I am using smart table and table type is tree table.
I have followed the steps and enabled the SAP UI5 Visual editor to my project however in edit mode not able to edit the columns of smart table this editor supports only the applications that have selected the type Adaptation Project Fiori elements.
Is there any alternative approach please let us know.
Regards,
Sravya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Tejas.
it works in case of template for List Reports based on annotations. And I have "SAPUI5 Visual Editor" in context menu for project. I agree with it.
But I created project manually. And I have view with two components smartfilterbar and smarttable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for quick responce.
But what if I'm using TreeTable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it is a responsive table the column width is adjusted automatically, else this is based on the metadata property maxlength in case of type string and precision for numbers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.