Posted 4 April 2021, 3:36 am EST
I am doing filtering by columns. How can I add a filter button to each column. And how can I add a new row, which will contain only the column names.
[C1.Xamarin.Forms.Grid]
[FlexGrid]
[Xamarin.Forms]
Forums Home / ComponentOne / General Discussion
Posted by: nort.skype on 4 April 2021, 3:36 am EST
Posted 4 April 2021, 3:36 am EST
I am doing filtering by columns. How can I add a filter button to each column. And how can I add a new row, which will contain only the column names.
[C1.Xamarin.Forms.Grid]
[FlexGrid]
[Xamarin.Forms]
Posted 5 April 2021, 6:01 pm EST - Updated 3 October 2022, 10:47 pm EST
How can i create a filter like this:
More info:
https://www.grapecity.com/componentone/docs/win/online-flexgrid/allowfilteringproperty.html
In Xamarin.Forms?
I need to create filtering by columns. I need to add a filtering button to each column, when you click on this button, a window or dropdown opens, where there will be values for filtering in checkboxes (the values are taken from the table itself). I should be able to select multiple values to sort. For example, I have a class of students and I need to filter the name column by Jack, Johnny and the age column by 18, 23.
Posted 6 April 2021, 1:22 am EST
Hi Andrew
C1Xamarin FlexGrid does not have the same filtering process that you have shared. C1Xamarin uses the ISupportFilterin to support filtering in FlexGrid. You can have a look at the C1Xamarin filtering at the Filter sample of FlexGrid101 sample, which you can find at the below location
Documents\ComponentOne Samples\Xamarin\CS\XF
Please let me know if you need any other help.
Thanks
Posted 6 April 2021, 5:31 pm EST
abhishek.tayal, thanks for the answer, you are helping me a lot. I appreciate it.