Posted 7 January 2018, 8:03 pm EST
Hi,
Is it possible to disable the existing item count which is available on grouping in wijmo flex grid.
I want to bind my own item count coming from back-end which is a part of the json.
Thanks in advance.
Forums Home / Wijmo / General Discussion
Posted by: jignesh.jain on 7 January 2018, 8:03 pm EST
Posted 7 January 2018, 8:03 pm EST
Hi,
Is it possible to disable the existing item count which is available on grouping in wijmo flex grid.
I want to bind my own item count coming from back-end which is a part of the json.
Thanks in advance.
Posted 7 January 2018, 9:59 pm EST
Hi Jignesh,
You need to use itemFormatter to show custom count for GroupRows. Please refer to the fiddle and change count value for the same.
http://jsfiddle.net/mkgupta911/2jcmjmkz/
~Manish
Posted 8 January 2018, 1:03 am EST
Hi Manish,
Is this possible by enabling some property or calling a wijmo function to enable/disable item counts?
Thanks,
Jignesh
Posted 8 January 2018, 3:56 pm EST
Hi Jignesh,
You may show/hide items count for FlexGrid group row. For this, you need to change groupHeaderFormat property of FlexGrid and remove {count} from it.
Since, {count} in groupHeaderFormat is calculated dynamically, it can not be changed.
However, if you would like to show different count, you need go with above approach.
~Manish
Posted 9 January 2018, 12:23 am EST
Hi Manish,
The solution is working as expected.
Thanks,
Jignesh Jain