Hello,
We want to display a list records, having just 2 columns.
Is there a was we could use any custom template or we can display only selected number of columns in order to save space.
In the below attached image, we have data in just first 2 columns but the grid is also displaying the extra columns (Column 3 to 7).
Thanks
Hello,
Thank you for reaching out to us.
We recommend wrapping the component's container with the other HTML element, which size will be used depending on the current component's configuration. Then override the CSS styling of empty cells to hide them:
.fm-empty { border-right: none !important; border-bottom: none !important; }
You are welcome to check the following example for reference: https://jsfiddle.net/flexmonster/bae4x237/
Please let us know if it works for you. Feel free to contact us in case further questions arise.
Kind regards,
Nadia
Hello Mark,
Hope you are doing well.
Just checking in to ask if you had a chance to check the suggested approach. Please let us know if it works for you.
Looking forward to hearing from you.
Kind regards,
Nadia