6/27/2025 8:28:47 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
DataGrid: Paging produces odd results
Posted: 04 Sep 09 3:52 AM
|
Hi
Has anyone else experienced this issue?
I'm having an issue with the paging and sorting on a datagrid. The datagrid is bound to a datasource that is populated by a method. I've enabled sorting on all columns and paging. When I click sort the order is displayed correctly. However, when I move to another page the contents are not correct. Sometimes the page doesn't change, but the page number does. Other sorts result in duplicate rows being shown, paging through some rows are not shown at all. The sort order of the displayed page is consistent with the selected sort order.
Delving deeper, the grid behaves correctly when the sort order selected is the same as the order in which the data is brought out of the method.
Any help appreciated |
|
|
|
Re: DataGrid: Paging produces odd results
Posted: 11 Jul 12 9:26 AM
|
fiogf49gjkf0d Hi Howard,
In order to use paging in an SlxGrid I understand that the Busines Rule method that feeds the datasource requires special parameters. Could you give me an example of a BR that feeds the datasource of a paging SlxGrid?
Regarding your problem, could you find a solution to that? I'll probably run into the same problem too. The dirty solution seems to be getting the grid sort order from the BR in order to sort the collection before returning it, but I don't like to call UI elements from the Business Rules.
Regards,
Marcos
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|