This is a migrated thread and some comments may be shown as answers.

Problem with adding new rows when Filtered

2 Answers 29 Views
GridView
This is a migrated thread and some comments may be shown as answers.
gmendez
Top achievements
Rank 1
gmendez asked on 06 Feb 2009, 03:29 PM
Hello,

I'm developing a demo for a customer. It consist of a grid to look up for the records and a set of textboxes to edit the data.
As is just a demo, I'm working in memory with custom Business Objects (no database).
The grid allows the user for filtering. The problem is that when I add a new object to the datasource, if the grid is filtered by any column, the new empty record is not shown. If I (the end user) remove the filter, then I am able to see the just added record(s).
This is not a problem, but it's not very fancy :)
It is odd, because if I set a filter programatically this issue doesn't happen. My be it has to do with the fact that the programatic filter is done for an invisible column.
┬┐Any clue?
Thanks in advance,

Gonzalo

2 Answers, 1 is accepted

Sort by
0
gmendez
Top achievements
Rank 1
answered on 06 Feb 2009, 03:47 PM
Hi guys,

I apologize. I's my fault!!
Obviously, a new and empty record doesn't match the filter condition !!!
Sorry :(
0
Jack
Telerik team
answered on 09 Feb 2009, 11:22 AM
Hello gmendez,

I am glad to hear that you have addressed this issue. Please do not hesitate to contact us if you need further assistance.

Sincerely yours,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
gmendez
Top achievements
Rank 1
Answers by
gmendez
Top achievements
Rank 1
Jack
Telerik team
Share this question
or