Hi team,
I have a datagrid where column resizing is not working. Attribute AllowResizing="true" is already added to the Datagrid. Below is the code for the same.
<SfGrid DataSource="@SalesOrdersList" AllowPaging="true" AllowSorting="true" AllowGrouping="true" ID="SalesGrid" GridLines="GridLine.Both" EnablePersistence="false" AllowFiltering="true" @ref="salesOrdersGrid" AllowTextWrap="true" AllowExcelExport="true" AllowPdfExport="true" PrintMode=PrintMode.CurrentPage ShowColumnChooser="true" Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel","Search", "Print", "PdfExport", "ExcelExport", "ColumnChooser" })" Height="100%" Width="100%" AllowReordering="true" AllowResizing="true">
While the same code for a different grid for a different page works fine without any issues.
<SfGrid DataSource="@ProductionLogList" @ref="productionLogsGrid" AllowPaging="true" AllowSorting="true" AllowGrouping="true" ID="prodLogsGrid" GridLines="GridLine.Both" AllowFiltering="true" AllowTextWrap="true" AllowExcelExport="true" AllowPdfExport="true" PrintMode=PrintMode.CurrentPage AllowReordering="true" AllowResizing="true" ShowColumnChooser="true" Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel","Search", "Print", "PdfExport", "ExcelExport" , "ColumnChooser"})" Height="100%" Width="100%" EnablePersistence="false">
One thing i noticed is toggling EnablePersistence to true/false is sometimes working but the functionality is not consistence. Please advice.
Thanks
Baba
Hi Baba,
Greetings from Syncfusion support.
We are not clear about the exact scenario you are facing this problem. We need the following details to further proceed on this scenario. Kindly share with us the details to proceed further.
The provided information will help us analyze the problem, and provide you a solution as early as possible.
Regards,
Renjith R
Hello Renjith,
I have shared the video and code files. Hope this should help you to look at the issue.
The exact scenario is simple I am just trying to resize the columns after the page has been loaded. If you see the video I am trying to extend the columns by dragging the columns border which is not working as expected.
Thanks
Baba
Hi Baba,
We checked this scenario by creating a sample using your shared codes in our latest version 20.1.0.47, but we could not reproduce the reported problem with the sample created using your shared codes from our side.
We are attaching the issue reproducing sample for your reference.
Kindly refer the attached sample and check this from your side. If you are still facing difficulties, then kindly share with us a simple issue reproducing sample along with the detailed explanation of the exact scenario you are facing this reported problem to proceed further.
Regards,
Renjith R