Rank: Advanced Member Groups: Member
Joined: 5/22/2009 Posts: 33
|
Hello Sir,
I would like to have multiple header row in Grid control. Would you mind show me how to do it?
Another question is that can I drag an item into Grid Column so it will have the effect to insert a column in the Grid dynamically. Is there any possible to do it? Thank you very much for the help.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to use fixed top items: http://demo.essentialobjects.com/default.aspx?path=Grid\_i1\grid_fixed_itemsYou can not dynamically create new columns on the client side. Thanks
|
Rank: Advanced Member Groups: Member
Joined: 5/22/2009 Posts: 33
|
Hello Sir,
I have many question about the Grid control as following:
1. Can I combine some column into one? It is just like the colspan in the html.
2. For the question of drag something into Grid to insert a column, I hope that Grid control can have some event or somewhere that can let me know where the other control dropped in the Grid control. If we can be fired with any event, then we may add some code in the server site to add the new column dynamically. Is it possible?
3. How can I put icon in the DeleteCommandColumn to replace the Name? I mean that I would like to put an icon in the EditCommandColumn or DeleteCommandColumn? Or how can I have more than one command button in one column to handle the comand like Edit, Save, Delete, etc?
Hope to get some example code to show me how to do it. Thank you very much.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, As to your questions: 1. Here is a working example: http://demo.essentialobjects.com/default.aspx?path=Grid\_i1\_i252. Here is a working example: http://demo.essentialobjects.com/default.aspx?path=TreeView\_i2\_i13. To You can set the columns' DeleteText property to any HTML such as an img tag. Thanks!
|