Adding scrollbars to a datagrid

M

M. D'Costa

Hello,

I have a question about adding vertical and horizontal scrollbars to a
datagrid. I realise that they are protected properties, but am unsure of how
to create a derived class that would contain them.

Any help will be appreciated.

Many thanks,
Marise
 
E

Eliyahu Goldin

Marise,

You don't need a derived class for that. Just put you grid inside a <div>
tag with a css rule overflow:auto.

Eliyahu
 
M

M. D'Costa

Hi Eliyahu,

Many thanks for your reply - I realised I posted to the wrong newsgroup. I
have a windows data grid and am not using asp.net. But, thank you - this
will come in handy sometime.

Marise
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top