FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      



Paging Custom Data in IGridExpand / Collapse
Message
Posted 2/23/2007 9:11:39 AMPost #1215
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
I'm trying to do is display the activity history for an account but including all subaccounts to any depth. This means an additional account column in the grid that is not an attribute of activity, therefore I can't use an activity view.

To do this I have to use SQL and that's all working, including paging and sorting by different columns. I take the parameters passed by the grid to the GridDataPage for sortCol, sortDir, recordsPerPage, filterValue etc and pass them to my SQL.

The XML I return is therefore already just the page needed. Can I tell the grid the actual total number of records so the paging works even though I'm not passing all the xml? I've set the

Instance.AllRecords = false;
Instance.MoreRecords = pageSize * pagenumber < totalrecords;

but the grid still doesn't even show a next page, never mind the correct total as there's no total count field so is the paging in my SQL pointless?

« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: kanika.jackson, Ken Champion

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 7:51am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 4.484. 13 queries. Compression Enabled.