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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

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

thanks

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

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.

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.

;