Hi Syncfusion, I have a Data Grid in React, when I set column width for ColumnDerective, it not working.
Column always fill full width of GridComponent
Example:
I have a GridComponent with width = 1000 and 2 column A, B which A.width = 100, B.width = 100
When GridComponent rendered, A and B always fill full width of GridComponent (1000)
I want to Column render with width property without fill full Grid
Thanks you.
|
. . . . .
constructor() {
super(...arguments);
this.resizeSettings = { mode: 'Normal' };
}
dataBound(args) {
this.gridInstance.autoFitColumns([]);
}
|
Thank for your reply,
It it not my needed.
I have a Grid with width="100%"
In ColumnDirective component, I set width={100} and maxWidth={100}
And I want when Grid render, Column should show width as 100. Not fit which content and not fill with Grid.
Thanks
I see Virtualization setting, but when I use it show me much error
Sample here:
Thanks you
I have my solution for that.
Config parent element css have been soloved.
Thanks for your support