Hi,
I am using igx data grid with excel style filter.
Requirement: When i tried to filter data in column level, not getting the filtered data on click of button.I have an button in component.ts, when i click on it need only filtered data but now i am getting all the datas of the igx gridPlease find an attachment.
Please provide a solution as it is an ongoing project.
Thanks in advance!
Hello Rakshith,
I added onRowSelectionChange event handling to the previous sample.Can you please see if your issue is still reproducible in the sample below?
stackblitz.com/.../github-wh2uwb-czzjrg
Amazed Post! I recognize there are different who feel ambiguous fulfillment from I read this Call Girls in Jaipur article! I trust you will keep having such articles to give to everybody. A commitment of thankfulness is all together for your post!
Hi mihoko kamiishi,My component.ts file contains both click() and handleRowSelectionChange(args) event, In click() event need to handle both the changes. So now it is failing for the handleRowSelectionChange(args) event changes. Help me how to handle the both changes in click() event.
You can use IgxGridComponent's filteredData (or filteredSortedData) accessor to get grid's current filtered data.
Class IgxGridComponent - filteredDatahttps://es.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxgridcomponent.html#filtereddata
Class IgxGridComponent - filteredSortedDatahttps://es.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/classes/igxgridcomponent.html#filteredsorteddata
I have a sample below. Please click "get filtered data" button to see the filtered data in the browser console.
https://stackblitz.com/edit/github-en7v3u-fsedve?file=src/app/grid/grid-excel-style-filtering-sample-1/grid-excel-style-filtering-sample-1.component.html