Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am looking into Paging for a Datagrid/Listview, but I don't have that option

 

DataGrid.AllowPaging Property [Visual Basic] (MSDN Helpfile)

 

Cause it seems like this is a way to make the Datagrid better with huge amount of rows.

and how to get Paging in a Listview (if possible)

since loading 40.000 takes way to long

 

What do I need to do, to make it work?

  • 2 weeks later...
Posted

Sounds like you need to implement custom paging. Check out the

DataGrid.AllowCustomPaging property in the SDK Documentation

to see how to do this.

 

Quite some time ago I had to solve the same problem with the ListView

windows control (by writing a superclassed COM Component using ADO).

You hook into appropriate events - say [Page Up] [Page Down] etc. and fill the control manually based on you're calculated page index.In ADO .NET

you'd fetch a new page into your dataset or datareader and manually fill the

ListView. A complicated but doable operation.

IN PARVUM MULTUM
Posted
Sounds like you need to implement custom paging. Check out the

DataGrid.AllowCustomPaging property in the SDK Documentation

to see how to do this.

 

Quite some time ago I had to solve the same problem with the ListView

windows control (by writing a superclassed COM Component using ADO).

You hook into appropriate events - say [Page Up] [Page Down] etc. and fill the control manually based on you're calculated page index.In ADO .NET

you'd fetch a new page into your dataset or datareader and manually fill the

ListView. A complicated but doable operation.

 

 

 

Hmm... maybe a source to peek at? :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...