Welcome Guest Search | Active Topics | Sign In | Register

Grid Dispaly all Items Options
Posted: Thursday, May 12, 2011 5:48:01 PM
Rank: Member
Groups: Member

Joined: 4/20/2011
Posts: 19
IS there any way to use the grid and display all the items from my query without having to set the height and page size? I have it all setup but my users are not liking the fact you have to click the control and then scroll. So is it possible to display all the results by default sorta like the GridView (non eo) control works? I love the Grid, and have been toying with it most the day to find some sort of work around to the click/scroll to go through the items. Thanks for the help/ideas and answers.
eo_support
Posted: Thursday, May 12, 2011 6:17:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Not really. The core difference between our Grid and ASP.NET GridView is ASP.NET GridView displays all the data and ours doesn't --- we use N visible items to display M logical items, where N is usually much smaller than M. So there is a dynamic mapping between the "visible item" and "logical item" that can not be simply turned off.

If you wish to completely disable scrolling, you can dynamically set the Grid's height based on how many items it has. For example, if the header is 21 pixel and every item is 19 pixel, you would set a Grid with 10 item to be 19 * 10 + 21 + 20 (extra space for border and to avoid scroll bars) = 231. In any case, the Grid item height is always fixed.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.