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
  • Example:

    a!gridLayout
    (
              headerCells:
              fn!apply
              (
                        rule!genericRuleGeneratesHeaderCell
                        (
                                  ri!columns,
                                  _
                        ),
                        fn!enumerate(fn!count(ri!columns))
              ),
              rows:
              fn!apply
              (
                        rule!genericRuleGeneratesGridRow
                        (
                                  ri!data,
                                  _
                        ),
                        fn!enumerate(fn!count(ri!data))
              )
    )
  • Can you explain more about this rule? whats its function?
    rule!genericRuleGeneratesHeaderCell
    (
    ri!columns,
    _
    )
Reply Children
No Data