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

Problem of getting incorrect row after applying filteration in RadGrid

3 Answers 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
prashant
Top achievements
Rank 1
prashant asked on 24 Oct 2008, 11:16 AM
Hi,

SCENARIO: We have set AllowFilteringByColumn = true in RadGrid for filteration and also we have restricted the filteraion options as only "CONTAINS"
PROBLEM: In above scenario when we filtered the Grid rows and then click on 3rd filtered row to update its contents then it will consider the before filteration 3rd row
Example: Initially RadGrid contains 6 rows and after filteration suppose it filter out 1st, 3rd, 5th row and now filtered Grid contains 2nd, 4th, 6th row as the 3 elements and when we click on 3rd filtered row (6th) then it considered 3rd instead of 6th.

Please help

Thanks in Advance
Prashant
9810494465

3 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 27 Oct 2008, 03:54 PM
Hello prashant,

I followed your scenario but could not replicate the described behavior. Could please elaborate a bit more on your scenario or better send a sample code that replicates the issue?

Thank you for your cooperation in advance.

Greetings,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 23 Sep 2010, 05:30 PM
I am having this same problem.  After I apply a filter and click on the row/record I want to edit, for example the second row, it brings up the record that appears second in the grid before the filter is applied.  It is almost like it is reseting the row index after a filter is applied and then pulling the item in the original list that has that row index.

I can't figure this out...
0
Iana Tsolova
Telerik team
answered on 27 Sep 2010, 12:01 PM
Hello Jon,

Is the problematic grid ajaxified and does it makes any difference if you disable ajax?
Sharing the page code might help us find the source of the problem.

Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
prashant
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Jon
Top achievements
Rank 1
Share this question
or