Welcome Guest Search | Active Topics | Sign In | Register

How can I set mutiple fixed header rows of Grid control? Options
Jack.Wu
Posted: Sunday, May 30, 2010 1:16:19 AM
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.
eo_support
Posted: Sunday, May 30, 2010 9:46:11 AM
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_items

You can not dynamically create new columns on the client side.

Thanks
Jack.Wu
Posted: Wednesday, June 2, 2010 10:05:34 AM
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.

eo_support
Posted: Wednesday, June 2, 2010 4:55:41 PM
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\_i25

2. Here is a working example:
http://demo.essentialobjects.com/default.aspx?path=TreeView\_i2\_i1

3. To You can set the columns' DeleteText property to any HTML such as an img tag.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.