I need to know how to set the maximum width of the Grid. I have it inside a DIV with a style setting the width but it extends beyond that and there seems to be nothing that changes that. I am setting the column widths.
2 Answers, 1 is accepted
0
Accepted
Konstantin Dikov
Telerik team
answered on 28 Dec 2018, 07:36 AM
Hello Reid,
If the width of the columns exceeds the width of the container and if the Grid is with disabled scrolling, the TABLE element will exceed the wrapping DIV element. For resolving this you could either change the width of the columns, so that the sum of all widths matches the width of the parent container or enable the Scrollable of the Grid:
.Scrollable()
More information about the Grid width could be found in the following help article:
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.