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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I adjust the right margin for the content of cells in column

Thread ID:

Created:

Updated:

Platform:

Replies:

23886 Jan 22,2005 06:32 AM UTC Jan 22,2005 07:48 AM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 22, 2005 06:32 AM UTC

thanks

Administrator [Syncfusion]
Replied On January 22, 2005 07:48 AM UTC

I do not understand what you are requesting. If you want the right-most column to fill the client area o fthe grid so there is no space between the last column and the scrollbar, then try handling the grid.QueryColWidth event(grid.Model.QueryColWidth in GridDataBoundGrid). In your handler, if e.Index == this.grid.model.ColCount, set e.Size = grid.model.ColWidths.Gettotal(0, grid.Model.ColCount-1), and also set e.Handled = true. If you want to proportionally size the columns to fill the client area, then check out \Grid\Samples\DataBound\GridDataBoundImageCell sample.

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

;