Hi,
The grid layout persists a lot of things about the grid (DisplayLayout.Save()) , does it also persist the information related to the filter condition operator in the grid filter row - like Starts With, Contains and so on. Does not look like it does. Is ther a way this could be done?
Thanks
Anand
Hi Anand,
The Layout information cannot include anything that is specific to a row or collection of rows, but it can include information that is stored on the Band.
So filters will be saved if they are band-level filters. This depends on the RowFilterMode property. If you are filtering all rows in the band, then the filters are stored on the band. If you are filtering each rows collection, then this cannot be saved to the layout.
Hi Mike,
The RowFilterMode property is set to AllRowsInBand...and the filters are getting saved. However the operators are not being saved. So if I had a filter string as 'abc' that is saved but if I changed the operator to EndsWith, the operator setting is not saved.
So what happens when you load the layout? You say the filter is there but not the operator, so what does it do, filter using Equals?
If that's the case, it sounds like a bug to me, in which case you should report it to Infragistics Developer Support. Submit an incident to Infragistics Developer Support