EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: oyvind on May 08, 2017, 02:56:58 AM



Title: Resize column in datagrid and cursor sensitivity
Post by: oyvind on May 08, 2017, 02:56:58 AM
Hello, hope I'm in the right place to ask this question.

Some of our users find it difficult to resize columns in the datagrids due to the space in which the resize cursor shows is narrow. The resize cursor only appears on the borders between the columns, which is fine, but it seems you have to be very precise to make the resize cursor appear.

Is there a easy way for me as a developer to make it less sensitive so to speak? That is, have the space of which the resize cursor is visible (and the functionality to resize the column) wider?

Thanks.


Title: Re: Resize column in datagrid and cursor sensitivity
Post by: jarry on May 08, 2017, 07:23:32 PM
Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.2-patch.zip and try to set the 'resizeEdge' property for the datagrid.
Code:
$('#dg').datagrid({
  resizeEdge: 8
});


Title: Re: Resize column in datagrid and cursor sensitivity
Post by: oyvind on May 10, 2017, 12:54:49 AM
Thank you, that worked out well!