lack of understanding about grids

Hello everyone,

I'm reading the documentation about grid column resizing and comparing it to my code. Unfortunately the documentation code is in TypeScript and i'm working with js (possibly es5). I don't understand differences between my code and the documentation.

My grid has the property "allowResizing: true," in my code but I can't resize my columns. 
When I look at the rendered HTML, grid is in "<div id="gridname">", even though if I create a grid with Razor, grid is in "<grid id="FlatGrid">" element.
The grid created by JavaScript is in a dialog.

I have probably missed somthing during development but I can't saw what.

Regards,
Thibault

1 Reply

MS Madhu Sudhanan P Syncfusion Team October 3, 2018 02:46 PM UTC

Hi Thibault 
 
We suspect you have used individual script for grid and missed to Resize feature module. If you have used ej2-grid.min.js file alone to render grid control, then please inject the Resize module as follows. 
 
 
ej.grids.Grid.Inject(ej.grids.Grid.Resize) 
 
 
Place the above script code after component script reference. If you still faced the problem, please share code or screenshot to check further on your problem. 
 
Regards, 
Madhu Sudhanan P 


Loader.
Up arrow icon