Store Procedure Order by is correct, but when return back to Radzen the result is not order by

Hi,

In my radzen page, I created a DataGrid and calling a Store Procedure in LoadData. From my Store Procedure query have a order by condition and I do expected when return the result to Radzen it will follow but now seems like the result do not follow the order by.

@cllor If the usp returns an ordered result set you might find data grid/column properties eg. sorting, paging are overriding it.

Hi @mumfie ,

Are you referring to the data grid properties LoadData event sorting? As i already took off but still not sort follow by the usp.


and with paging enabled (small dataset)

Hi @mumfie ,

I see, I tested out the [AllowPaging] will override the usp order result. After uncheck the [AllowPaging], the dataGrid return the result same as usp return result.

Thank you.

1 Like