webform - resize the datagrid

S

Shrine

I have a datagrid in the webform. I want to resize the datagrid columns using
mouse. Can anyone give me the code.?
 
H

haile

The datagrid control renders in the client browser as ordinary HTML. If you
view the source of the page, you don't see a datagrid control - you see an
ordinary HTML table. So you are really asking how to resize the columns of
a static HTML table. Even client-side DHTML does not have handlers for
column resizing events.

There could be a way to resize HTML table columns using Javascript, but I
have never seen it done. You would have to manage every click and drag on
the client side, and this would probably interfere with other elements on the
page, such as JScript menus.

Haile
 

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

No members online now.

Forum statistics

Threads
474,312
Messages
2,571,621
Members
48,435
Latest member
EHBEmilio5

Latest Threads

Top