How to auto fit data in Rows and columns as per size

Hi,

How to auto size rows and column width to fit the data inthe cell without hidden..?

2 Replies

RD Richard Deverson January 29, 2007 01:06 PM UTC

Have you tried this?:
gridControl.Model.ColWidths.ResizeToFit(GridRangeInfo.Cols(startColumnIndex, endColumnIndex))

It works pretty well for me.


AD Administrator Syncfusion Team January 29, 2007 02:00 PM UTC

Hi,

Thanks, It works for column perfectly. But i dont know no of rows in advance ...so how to give range for rows

Loader.
Up arrow icon