Editable Grid - Dynamic columns

Have anyone implemented "dynamic columns in editable grid"? Say for example my matrix rows and column vary per product or category

1. Category - 10 * 11 columns
2. Category - 10 * 3 columns etc. Rather than creating multiple SAIL rules, planning to use one SAIL rule for interface and one SAIL for grid layout.

OriginalPostID-251485



  Discussion posts and replies are publicly visible

Parents
  • You can make the grid dynamic by using apply for both the headerCells and GridRowlayout, calling a generic rule to generate the headercells, and a generic rule to generate the grid rows. It's not that difficult if you can understand how the apply function works. One thing that should know is that you should apply on an enumeration of the indices of the rows/columns and pass the entire dataset into the generic rules.
Reply
  • You can make the grid dynamic by using apply for both the headerCells and GridRowlayout, calling a generic rule to generate the headercells, and a generic rule to generate the grid rows. It's not that difficult if you can understand how the apply function works. One thing that should know is that you should apply on an enumeration of the indices of the rows/columns and pass the entire dataset into the generic rules.
Children
No Data