ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: iamgsprabhu on May 20, 2016, 05:49:36 pm
-
I am working with the nested grids, and I would like to hide/disable the detail grid and indicator (ui-icon-plus) when the child datasource returns empty.
How can I acheive this ?
thanks
Prabhu
-
I'm afraid it's not feasible in version 2.0.4
-
Atleast is there a way to disable the indicator (+) ?
I'm afraid it's not feasible in version 2.0.4
-
It's not a nice solution but if you could loop through the rows ( $tr ) in grid with jQuery in refresh event, you could disable the unwanted + icons by directly setting display: 'none' or visibility: hidden.
rowData can be obtained from $tr by getRowData() and getRowIndx() methods and you could mark the rows with unwanted + by adding some property to rowData.