Record selector

Is there a way to control the width of the record selector column, when using grid width 100%?

6 Replies

GM Gowri Manohari D Syncfusion Team November 13, 2009 10:58 AM UTC

Hi Martin,

We assume that "Record Selector Column" is a grid column. We have created sample for controlling column width of the grid when grid width is 100%.

Please find the sample from below link
http://files.syncfusion.com/support/GGC.Web/7.3.0.20/61286/main.htm

Let me know if the above sample helps you or otherwise provide some more details about your requirement.

Regards,
Gowri


MK Martin Kappl November 16, 2009 12:54 PM UTC

I ment the first column visible when using "TopLevelGroupOptions=>ShowCaption". It´s used to display the selected record indicater arrow.


GM Gowri Manohari D Syncfusion Team November 18, 2009 06:34 AM UTC

Hi Martin,

Currently we don't have a support to set the width property for row header cell directly. But we can set indirectly via cssclass in javascript. All the style related properties can be set in GridGroupingControl_QueryStyleInfo event. The sample which i have created will illustrates how to control the width of row header cell. Please refer the sample for more details.

Please check the below link
http://help.syncfusion.com/support/GGC.Web/7.3.0.20/F91297/main.htm

Let me know if you have any queries

Regards,
Gowri


MK Martin Kappl November 18, 2009 07:45 AM UTC

I think we are still talking about different things. Maybe my description is not correct. I attached a sample were I marked the column I want to set the width as fixed. I have set the grid width to 100% and the column width for all columns except one. The grid takes the correct width for the columns with the width set and resizes the one with no width set. So far so good! BUT the first column (marked in my attached sample) get´s also resized when using 100% width for the grid. I now want to know, if I can set this column to a fixed width like the other.



sample_6af801c0.zip


MK Martin Kappl November 18, 2009 11:44 AM UTC

Oh ok. I checked your sample and now I understand what you described. The column I was talking about is called "RecordHeader". Now I got it.. works great!

Thank you! :-)


GM Gowri Manohari D Syncfusion Team November 19, 2009 03:44 AM UTC

Hi Martin,

Thank you for the update.

Regards,
Gowri

Loader.
Up arrow icon