- Home
- Forum
- ASP.NET MVC
- Column manual resizing features not working
Column manual resizing features not working
Hi,
I have a dynamically populated grid with no explicit column declarations (don't know if that's relevant), but "allowResizing" and "allowResizingToFit" settings don't seem to work. At times the correct cursor shows in the column header, and can be used once, others not at all, with no apparent problems in the browser console.
$('#data_table_grid').ejGrid({
dataSource: self.dataSource(),
allowResizing: true,
allowResizingToFit: true,
allowSorting: true,
allowPaging: true,
allowTextWrap: true,
selectedRowIndex: self.selectedRow(),
pageSettings: { currentPage: self.currentPage(), pageSize: 8 },
allowScrolling: true,
allowGrouping: true,
scrollSettings: { width: '100%' },
enableStrictMode: true,
isResponsive: true,
toolbarSettings: {
showToolbar: true,
customToolbarItems: [{
templateID: "#custom_export"
}]
}
});
SIGN IN To post a reply.
9 Replies
VN
Vignesh Natarajan
Syncfusion Team
February 8, 2019 07:34 AM UTC
Hi John D,
Thanks for contacting Syncfusion Support.
Query#:- At times the correct cursor shows in the column header, and can be used once, others not at all, with no apparent problems in the browser console.
From your query, we suspect that you are facing issue column width with auto generated column. We have checked your reported problem and prepared sample as per your code example but we are unable to reproduce your reported problem at our end.
Sample Link:- https://jsplayground.syncfusion.com/sluvrv00
We need some additional information to find the cause of the issue. Please share us the following details.
- Screenshot/Video Demo to replicate the issue.
- Exact issue you have faced.
- Essential Studio product version details.(xx.x.x.xx)
- If possible replicate the issue in the above sample and revert us back.
Regards,
Vignesh Natarajan
JD
John D Lamarsh
February 10, 2019 12:04 AM UTC
Hi Vignish,
Thanks for your response. I've upgraded to version 16.4.0.52. Video is attached, and as you can see the refit cursor is not activated in the column header. No console error, and in Chrome latest version 72.0.3626.96.
JD
John D Lamarsh
February 10, 2019 12:06 AM UTC
VN
Vignesh Natarajan
Syncfusion Team
February 11, 2019 10:31 AM UTC
Hi John D,
Thanks for the update.
We can reproduce your problem at our end and confirmed it is bug. We have logged defect report “Resizing cursor icon changed while on resizing” and the fix for the issue will be included in our upcoming release 2019 Volume 1 which is expected to rolled out at the end of March 2019.
We can also provide custom patch on 14th Feb 2019.
Till then kindly use workaround below.
|
<style>
.e-grid th.e-headercell.e-draggable {
cursor: col-resize !important;
}
</style>
<div id="Grid"></div>
<script type="text/javascript">
$(function () {
$("#Grid").ejGrid({
dataSource: window.gridData,
allowReordering: true,
allowResizing: true,
});
});
</script>
</body> |
Sample Link:- https://jsplayground.syncfusion.com/oogfzxpj
Regards,
Vignesh Natarajan
JD
John D Lamarsh
February 11, 2019 06:30 PM UTC
Thank you for the very timely responses! I've tried the work-around and the cursor for resize drag, or autoresize double-click seems to work once, then it seems to clash with drag-and-drop column reorder, and grouping functionality.
VN
Vignesh Natarajan
Syncfusion Team
February 12, 2019 01:03 PM UTC
Hi John,
Thanks for the update.
We have validate the reported query and we are able to reproduce the reported behavior at our end with the provided workaround. So we will provide the custom patch for the reported issue on 14th February 2019 as promised . Till then we appreciate your patience.
Regards,
Vignesh Natarajan
VN
Vignesh Natarajan
Syncfusion Team
February 19, 2019 11:10 AM UTC
Hi John,
Thanks for the patience.
We are glad to inform you that issue “Resizing cursor icon changed while on resizing” has been fixed and it will be included in our upcoming release 2019 Volume 1 which is expected to be rolled out in the month of March 2019.
Till then kindly refer the below link for the patch (16.4.0.52).
Please replace the custom script file “ej.web.all.min.js” or “ej.grid.min.js” ( while using individual script) available in the following location in your application to reflect the changes. Also change the ej.widget.core.css file to reflect the CSS changes.
Note: ensure to clear that cache before running the sample again.
Please get back to us if you need any further assistance.
Regards,
Vignesh Natarajan
JD
John D Lamarsh
April 15, 2019 04:45 PM UTC
Vignesh,
Fix is working with jquery 3.3.1 syncfusion 17.00.15.0.38.
Thanks,
John
VN
Vignesh Natarajan
Syncfusion Team
April 16, 2019 10:32 AM UTC
Hi John,
Thanks for the acknowledgement.
We are glad to hear that your query has been resolved in latest version.
Please get back to us if you have further queries.
Regards,
Vignesh Natarajan.
SIGN IN To post a reply.
- 9 Replies
- 2 Participants
-
JD John D Lamarsh
- Feb 7, 2019 07:01 PM UTC
- Apr 16, 2019 10:32 AM UTC