Hello everyone,
I have a little problem with your calculated columns.
I need to get all calculated cells with value less than 0, but when I iterate to get the values < 0 I get fewer results. I guess is something related to the moment when is refreshed the calculated value.
how can I get the count of cells with value < 0
right now I am making a linq query like this:
but I get only 5 results. It seems that the refresh event of the calculated cells is fired when I scroll down, is that correct? can I force the program to calculate all of them?
thanks :)
I have a little problem with your calculated columns.
I need to get all calculated cells with value less than 0, but when I iterate to get the values < 0 I get fewer results. I guess is something related to the moment when is refreshed the calculated value.
how can I get the count of cells with value < 0
right now I am making a linq query like this:
grid.Rows.OfType<GridViewDataRowInfo>().Count(x => Convert.ToDouble(x.Cells[
"columnName"
].Value) <= 0);
but I get only 5 results. It seems that the refresh event of the calculated cells is fired when I scroll down, is that correct? can I force the program to calculate all of them?
thanks :)