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

resize cell/row + selected row

Thread ID:

Created:

Updated:

Platform:

Replies:

64029 Jul 12,2007 09:15 PM UTC Jul 12,2007 09:41 PM UTC WinForms 1
loading
Tags: GridControl
yaacov
Asked On July 12, 2007 09:15 PM UTC

I am knew with syncfusion product and would like to know more details about gridcontrol selections, model , where can i find articles?

How can I keep user changes in cell width , row height and selected row on gridControl so after refresh ?

How can a grid column change it's size according to dispalyed text ?

haneefm [Syncfusion]
Replied On July 12, 2007 09:41 PM UTC

Hi Yaacov,

I am knew with syncfusion product and would like to know more details about gridcontrol selections, model , where can i find articles?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

We are sure, making an overview of our browser samples definitely help to solve any complex issues with respect to our grid. The user documentation is another special in v5.1 which discusses each and every feature in detail.
( www.syncfusion.com/library )

You can also refer to the following
Evaluation articles (http://www.syncfusion.com/support/evalcenter/default.aspx?cNode=5 )
KB articles ( http://www.syncfusion.com/support/kb/grid/Default.aspx )

How can I keep user changes in cell width , row height and selected row on gridControl so after refresh ?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can ge the rowheight and colwidth information from Model property of the grid. Below is a code.

int FirstRowheight = this.grid.Model.RowHeights[1];
int FirstColWidth = this.grid.Model.ColWidths[1];

If you want to keep the changes in rowheight and column width of grid then use the above collections properties(Model.RowHeights and Model.ColWidths).
How can a grid column change it's size according to dispalyed text ?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
You would have to call the ResizeToFit method to resize column width based on the text. you could use code such as:

this.grid.Model.ColWidths.ResizeToFit(GridRangeInfo.Table());

Best regards,
Haneef

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

;