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

resizeable on a non scrollable and no-wrap grid

1 Answer 176 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kris
Top achievements
Rank 1
kris asked on 21 May 2015, 11:53 AM

 Hi,

  I'm having a couple of issues with the kendo grid which i can't seem to resolve.
  Have a look at the example at http://dojo.telerik.com/oWaMA and try to resize the first column.

  2 things happen : 

   - first all columns with no width set will be completely collapsed

   - if you keep making the column larger it will push the other columns out of the grid

 

  Is there any way to have a non scrollable grid with no-wrap that :

   - respects a min-width for a column

   - respects the initial width of the grid and does not push the columns out

   - when resizing a column is no longer possible due to all columns have reached min-width

     and the max size is reached that it stops resizing ?

 

  Any help on this is definitely appreciated.

regards,

Kris Daniels

 

regards,

Kris Daniels

 

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 25 May 2015, 11:10 AM

Hello Kris,

If Grid scrolling is disabled and the columns cannot fit, they will overflow the Grid <div>, which will result in the widget's right border passing through the data cells. As explained in width section of this article please set a large-enough width or min-width style for the Grid wrapper - the <div class="k-widget k-grid"> to avoid this behavior.

Please refer to the updated version of the http://dojo.telerik.com/oWaMA/3 example. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
kris
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or