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. Image for the cookie policy date
close icon

Visible Column Control

If there a property to keep a column from being hidden when the browser window is re-sized?

3 Replies

SK Shanmugaraja K Syncfusion Team March 31, 2014 09:58 AM UTC

Hi Thomas,

 

Thanks for using Syncfusion products.

 

We couldn't understand your requirement clearly. Could you please explain your requirement clearly whether you  need column not be hidden while resizing browser window or you want enable scroller while resizing the browser window?

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K



TK Thomas Kiehl April 15, 2014 10:14 PM UTC

I am trying to get a better idea of how to control which columns get hidden when the browser window width is reduced. It appears to be a function of the CSS, but I cannot find any documentation on how to control it. 


SK Shanmugaraja K Syncfusion Team April 21, 2014 11:21 AM UTC

Hi Thomas Kiehl,

 

Thanks for your update.

 

We suggest you to use Scrolling method to control Grid columns get hidden when the browser window width is reduced. Please refer the below code snippet.

 

[CSHTML]

 

@(Html.Syncfusion().Grid<scrolling.Models.Student>("GenericListGrid")

    .Datasource(Model)

    ….

    .Scrolling(scroll => scroll.Height(300).Width(550).AllowScrolling(true))

 

Please refer the below sample for further reference.

 

Sample : scrolling.zip

 

Also, refer the documentation for scrolling from the following link.

 

Documentation Link  : http://help.syncfusion.com/ug/asp.net%20mvc/grid/default.htm#!documents/throughgridbuilder49.htm

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K


Loader.
Live Chat Icon For mobile
Up arrow icon