BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Josh Wood,
Thanks for using Syncfusion products.
Based on your request, we have created a simple ejGrid
sample. in this sample, we have reinstated
the default browser text selection behaviour with an ejGrid using below CSS.
Please find the CSS.
<style>
.e-grid
.e-gridheader .e-headercell,
.e-grid
.e-rowcell {
-moz-user-select: text;
-khtml-user-select: none;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
} </style> |
Attach sample here :
Please let us know if you have any queries.
Thanks with Regards,
J.Mohammed Farook
Hi Josh Wood,
Based on the request, we have created a ejGrid sample. In this sample, we disable the mouse gesture with an ejGrid using the script.
[script] gridObj._off($("#Grid"), "swipeleft swiperight", ".e-gridcontent .e-table"); (After the Grid gender) |
Please find the attached sample.
Please let us know if you have any concerns.Prasanna Kumar N.S.V
{Software Engineer + JS Team}
Hi Josh Wood,
Please ignore our previous response.
Currently we don’t have option to disable mouse gesture but we have provided workaround to disable mouse gesture in ejGrid. Please find the workaround.
[script] |
Note: As per your request, we have considered this as feature request “Disable mouse gesture on ejGrid”.
Sample: http://www.syncfusion.com/downloads/support/forum/117022/Sample_127584_208c3074.zip
Please let us know if you have any concerns.
Regards,
Prasanna Kumar N.S.V
Hi Josh Wood,
Thanks for your update.
Please get back if you
require further assistance. We will be glad to assist you.
Regards,
J.Mohammed Farook
Hi Josh,
We have achieved your requirement by using “enableTouch” property in Grid.
Sample: http://www.syncfusion.com/downloads/support/directtrac/117022/EnableTouch-520808892.zip
In the latest version we have included the property enableTouch to enable/ disable the swipe functionality. By default enableTouch set to “true” and to disable the mouse gestures it has to be set to “false”. Please find the below code snippet:
$(function () { // the datasource "window.gridData" is referred from jsondata.min.js var data = ej.DataManager(window.gridData).executeLocal(ej.Query().take(50)); $("#Grid").ejGrid({ dataSource: data, allowPaging: true, enableTouch: false, . . . . . }); |
Please let us know if you have any queries.
Regards,
Balaji Marimuthu
Hi Josh,
We are sorry about the inconvenience caused. We are unable to reproduce the reported issue while creating a sample by including the individual ej.widgets files. Please refer the sample.
Sample: http://www.syncfusion.com/downloads/support/directtrac/117022/EnableTouch_(2)-1493717601.zip
Please provide more information to reproduce the issue or modify the attached sample to issue reproducible that will helpful for provide better solution ASAP. Also refer the following link for including the dependencies files.
http://help.syncfusion.com/ug/js/default.htm#!documents/griddependencies.htm
If you are using the latest Essential Studio 12.4.0.30 version please include the dependency file ej.scrollbar.min.js file, could you please let us know which version of the Essential studio you are used and are you getting any script error in the console.
Please let us know if you have any queries.
Regards,
Balaji Marimuthu
var data = ej.DataManager(window.gridData).executeLocal(ej.Query().take(50));
$("#Grid").ejGrid({
dataSource: data,
allowPaging: true,
columns: [
{ field: "OrderID", headerText: "Order ID", width: 75, textAlign: ej.TextAlign.Right },
{ field: "CustomerID", headerText: "Customer ID", width: 80 },
{ field: "EmployeeID", headerText: "Employee ID", width: 75, textAlign: ej.TextAlign.Right },
{ field: "Freight", width: 75, format: "{0:C}", textAlign: ej.TextAlign.Right },
{ field: "OrderDate", headerText: "Order Date", width: 80, format: "{0:MM/dd/yyyy}", textAlign: ej.TextAlign.Right },
{ field: "ShipCity", headerText: "Ship City", width: 110 }
]
});
// Time Passes
$("#Grid").ejGrid({
enableTouch: false
});
Hi Josh,
We are sorry for the inconvenience caused. We have confirmed that the issue with “EnableTouch Property is not working after grid initialized” is a defect and we have logged a defect report. We will fix the issue and it will be included in Vol 1, 2015 release, which has been scheduled to be roll out in the month of March 2015.
We have also created an incident internally to have a follow up with this issue.
Regards,
Balaji Marimuthu