When i provide static array items and value, multi select dropdown works as expected and the records filter correctly based on the items selected in the combo.
Populating the items dynamically does not work and i see a textbox filter beside the column name instead of a combo when page is loaded. I would like to load the items and value in the columns filter bar multi select combo with data returned from an API.
Attached is the code snippet and screenshots. My requirement is to load the second column items and values from api response similar to first column in screenshot.
Thanks
Attachments
MultiSelectComboFilterbar
FilterBar.png (13.25 KiB) Viewed 1054 times
Last edited by kneville on Tue Jan 23, 2024 6:49 pm, edited 1 time in total.
I configured filterField as a config object an it works, but on initial load i don't see all the combo items prechecked. I added the value property and the items property an array of items returned from the renderer function. My requirement is all combo items must be checked by default on page load and user can check uncheck to filter out the records in the grid. If possible add "Select All" as the first item and user can Select All/De Select All/multiselect. Please provide an example.
If the record item is returned as null or empty is there a way i can add an alias name "Unassigned" instead of showing the first item as null and when i select "Unassigned" it should filter the records which are null.
When i select any item from the combo items list the grid scrolls and the combo items container is moved to a different position on each item selected. I would like to have the combo list container always connected to the column it's related to and move along with the position of the column. Thanks
Please find attached angular zip project. Columns TecnicianId and PartsCode are the filterable columns i am having issues with their positioning when combo items are selected and unselected.