I am using XAMGrid of Infragistics silverlight controls version2.0.
I didn't find any way to get all the rows OR all filtered row collection.
XAMGrid.Rows always returns the current page rows instead of all page rows.
Is there any way to get the filtered/all rows of grid data source?
Hello Varun,
After some research FilteredRows Collection has been determine as a new Product Idea. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI12070112
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
It's been more than 1 year. Has anything been done to get all filtered rows, while having paging implemented?
Neither the Filtered or Filtering event arguments pass in a RowsCollection as part of the event arguments.
In the Filtering event the
Infragistics.Controls.Grids.
CancellableFilteringEventArgs
event argument has the Column, FilterCellValue, operand, the RowFiltersCollection, but not the Rows collection.
The Filtered event only has the RowFiltersCollection.
Where are you accessing the Rows collection from? If I check the grid.Rows collection, it only has the expected rows in it after filtering it.
Could you give me the code you are using or a sample showing this behavior?
We are trying something similar, and once a filter is set by a user, we want to modify our interface base don the the filtered results. However, the Filtered event and Filtering event sender objects both return the previous row collection. I can understand the Filtering event doing so, but the FIltered event implies post filter and should only be the rows the filter imposes?
If that assumption is incorrect, I do not see an alternative event to catch that will tell me the user has set a filter, its applied and I can get the rows?
Hi,
To keep perf up, the xamGrid only keeps track of the rows for a particular page. If you want to see all the rows, you can turn paging off and back on after you get your collection.
Something like :
this.xamGrid1.PagerSettings.AllowPaging = PagingLocation.None; // Turn off
// Get your filtered rows:
this.xamGrid1.PagerSettings.AllowPaging = PagingLocation.Top; // Turn on
-SteveZ