I have a monorail brail page that uses
PaginationHelper.CreatePagination to generate a grid of items. The
grid shows fine, but the Next|Last button, although enabled, do
nothing. However, if I sort by one of the header columns, I can then
use Next|Last, and then First|Prev (of course, since we are now on
another page).
I don't do a lot with Monorail or brail, so please, go easy on me.
I'll offer any additional information to help resolve this.
I get the grid like this:
return PaginationHelper.CreatePagination<Transaction>(this,
(IList<Transaction>)Transaction.FindAll(_transCriteria, new Order[]
{ order }), 10);
And put it in the Property bag:
PropertyBag["GridObjects"] = GetGridPage(Badge);
My brail page displays it here:
component BasicGridComponent, {"id":"PageGrid", "source":
GridObjects}:
section header:
?>
<tr>
${GridComponent.CreateHeaderLink("Transaction Date","Date")}
<th>Total Hours</th>
${GridComponent.CreateHeaderLink("Updated On","UpdatedOn")}
</tr>
<?brail
end
section item:
....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---