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

[Solved] Rowcount not always correct

1 Answer 85 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
NoEng
Top achievements
Rank 1
NoEng asked on 31 Oct 2011, 12:05 AM
Hi

We use the latest telerik controls for Silverlight 4 in combination with ria services.
We (our customer!) have now encountered a strange behaviour in the rad gridview when it comes to the row count (on the right hand bottom). Normally, it shows the correct number of all the rows that match the filter criteria. (As the grid is paged, not all rows are normally displayed.)

Our customer has now discoveres, that the row count is far too high. I have not been able to reproduce this issue but we have been provided with a screenshot of the problem (see also the attached file). There it is clearly visible that:

- there is only one page
- the rowcount is 239
- almost all rows are visible (see the scrollbar). but their number is at the maximum 60

Apart from that it is to note, that no changes have been made to the data in the grid. Otherwise the save button ("Speichern") would be enabled.

Could the grouping functionality have an influence? We have had problems with grouping in the past. It would be great if you could help us.

Thanks in advance.



1 Answer, 1 is accepted

Sort by
0
NoEng
Top achievements
Rank 1
answered on 01 Nov 2011, 08:24 PM
Hi

I have found the problem. Reason was that the filterdescripter was added to the grid, but not to the datasource. Therefore, more data was returned but not displayed because the grid did filter them as well.
Greetings
Tags
GridView
Asked by
NoEng
Top achievements
Rank 1
Answers by
NoEng
Top achievements
Rank 1
Share this question
or