I am using Grid with XML based configuration like following
Incident Id
Category
…
px
…
I want to enable filters and from documentation I see that I need to call mygrid.attachHeader(…) where mygrid is javascript grid object instance.
It work for first time. but when I refresh grid (after calling mygrid.loadXML(…) from second time onward, i dont see filters.
Is there a way to configure filters from XML configuration?
Ravindra
but when I refresh grid (after calling mygrid.loadXML(…) from second time onward
If XML contains head section - it will cause grid reconfiguration, and all previously defined headers will be cleared.
Basically you can load grid with “head” section for initial data loading, and reload with xml without “head” section - in such case you will need not any extra code.
>>Is there a way to configure filters from XML configuration?
You can use
px
a,#text_filter,c,d