In this article
1: Overview
ActiveColumns and ActiveRows can be used to provide user configuration on customizing datagrid content. Selectors can be used to provide a dynamic list of which columns or rows should be 'active' (i.e. shown)
ActiveSeries also works the same way with charts.
2: CDL
widgetdataGrid#dataGridWidget {label: "ActiveCols for Column Selection"size: halfwidth//selectors for columnsselect#selcol {label: "Select columns"defaultOption: osat, easemode: multioptions: item {label: OSATvalue: osat}, item {label: Easevalue: ease}, item {label: Recommendvalue: recommend}, item {label: Renewvalue: renew}}activeColumns: @selcol.selectedcolumn#osat {cell#cell {value: average(numeric(:OSAT))format: numberStatisticDefaultFormatter}label: "OSAT"}row cut #row {value: :claimsCenter}column#ease {cell#cell {value: average(numeric(:ClaimEase))format: numberStatisticDefaultFormatter}label: "Ease"}column#recommend {cell#cell {value: average(numeric(:Recommend))format: numberStatisticDefaultFormatter}label: "Recommend"}column#renew {cell#cell {value: average(numeric(:Renew))format: numberStatisticDefaultFormatter}label: "Renew"}}