Posted 8 May 2020, 11:46 am EST
Hi,
In my flexgrid i included both columnGroups and also filter functionality. when these comes together my filter icon is shown in right of the column header.
I need to show it on the right of the header name.
when i inspect it and removing display: flex; from wj-colgroup it is showing correctly but then header text alignment in center broken.
also I tried float:right but not working.
how to solve this?
sample binding json
[{ “allowSorting”: false, “header”: “Period”,“align”:“center”, “visible”:“true”,“columns”:[
{ "allowSorting": false, "binding": "periodStartDate", "header": "Start Date", "dataType": "4", "format": "yyyy-MM-dd"}, { "allowSorting": false, "binding": "periodEndDate", "header": "End Date", "dataType": "4", "format": "yyyy-MM-dd"} ]}, { "allowSorting": false, "binding": "currencyCode", "header": "Currency", "visible": true, "dataType": "1"}
]
2.Also i implemented wijmo column picker. as seen in the html there columnGroups applied. my requirement is need to include only the parent headers(Period,Currency) in columnpicker. not needed to dispaly the child items (eg: Start Date,End Date )
and also when uncheck the parent item from column picker need to hide both child columns ( Start Date,End Date ) from the grid. Is there any option?
Thanks,
Teenu