Custom Datagrid

F

Floris Briolas

Dear you,.. :)

Hi I'm developing a custom datagrid. I'm unable to let the component
perform, i'm using pannels with labels upon them.

How does the DataGrid draws it's data so fast?
 
P

Peter Foot [MVP]

The overhead from using multiple Controls would be too much. Take a look at
Alex's article on writing Owner-Drawn controls.
http://www.opennetcf.org/Articles/ownerdrawnlist.asp

You can apply the same techniques to a 2d grid control although this would
be somewhat more complicated. You will also find some techniques to add some
additional functionality to the standard grid control submitted to the
forums:- http://www.opennetcf.org/Forums/ do a search for GridView. For
example using a floating TextBox to simulate editing and applying
alternating row colours.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
Handheld Interactive Reference Guides
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top