We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridControl cell merge and column widths

Thread ID:

Created:

Platform:

Replies:

50994 Oct 25,2006 03:56 PM UTC WinForms 0
loading
Tags: GridControl
Robbe Morris
Asked On October 25, 2006 03:56 PM UTC

This must be simple and I'm just missing something. version 4.2.0.61

If I want to merge columns, I believe this is the appropriate way:

grid.CoveredRanges.Add(
GridRangeInfo.Cells(record.Row,
record.Column,
endRow,
endColumn));

Assuming this merges row 1 and columns 1 thru 4,
how can I get the new column width of column 1?

The gridControl.ColWidths(1) still shows the original value of column 1 and doesn't take into account the widths from col 2 thru 4.

I may be merging columns improperly. My end goal is to render the grid in windows kind of like an html table with row spans and column spans.

By the way, where are the Html UI control samples? Can't find 'em.

Any insight?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;