Welcome Guest Search | Active Topics | Sign In | Register

Set Rowspan or Colspan for EO.Grid Options
Alex
Posted: Monday, November 22, 2010 11:38:46 AM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 20
Hi,

I'm using your EO.Grid for my project. It's good because it's feature. But now i have a condition where i has to merge grid header, so i can put 2 column with one header.

Is there any way that i can treat it like HTML table with rowspan or colspan property??


Thanks for your help.
eo_support
Posted: Monday, November 22, 2010 12:02:41 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We support ColSpan but not RowSpan:

http://demo.essentialobjects.com/Demos/Grid/Features/Column%20Span/Demo.aspx

Note that col span is on GridCell, not on GridColumn. So if you need span the column header, you will need to set the Grid's ColumnHeaderVisible to False to hide the "normal" column header, and then use fixed top items to simulate column header:

http://demo.essentialobjects.com/Demos/Grid/Features/Fixed%20Items/Demo.aspx

The main difference between the fixed top item and column header is fixed top items are "grid items". So they count as a row. Column header does not count as a row.

Hope this helps.

Thanks!
Alex
Posted: Tuesday, November 23, 2010 1:36:42 AM
Rank: Member
Groups: Member

Joined: 9/1/2010
Posts: 20
Hi...

Thanks for your quick response,i think this is what i was looking for..


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.