This is a migrated thread and some comments may be shown as answers.

Column width issue

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jincy
Top achievements
Rank 1
jincy asked on 01 Nov 2008, 08:16 AM
Hi,

I am using RadGrid and I am generating all columns through code only nothing in design. And there is a faciltiy to select which columns we want to display and if we want we can display all columns.So when displaying grid the width of columns will be same as the width of the largest content, but if we select to display all columns it is not coming like that. But again when we select all columns it is displaying correctly.Can anyone point out what is the issue?

Regards,
Jincy

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Nov 2008, 06:34 AM
Hi Jincy,

From the above mentioned scenario I guess the Grid is behaving properly for the second time when you choose the SelectAll Columns options. So i think the problem is with the way in which you bind the Grid. Try rebinding the Grid after choosing the SelectAll Columns option and see if it is comming correctly.

RadGrid1.Rebind(); 

Shinu.
Tags
Grid
Asked by
jincy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or