Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
Editing of row is disabled in igrid in chrome, however row is enabled in internetexplorer 10.0 version
posted

Hi,

My requirement is: I have to make editing of grid disabled for some unauthorized user.

I have implement the same  and it is working fine in google chrome.

However when i run the same in  internet explorer version 10.0. (Rows are enabled).

Why the same code is not working for internet explorer version 10.0.

Below is sample code

  {
                            name: 'Updating',
                            editMode: measurementPickListGridEditMode,
                            enableAddRow: measurementPickListGridEditMode == 'none' ? false : true,
                            enableDeleteRow: measurementPickListGridEditMode == 'none' ? false : true,

}

    var measurementPickListGridEditMode = "row";

 $(".measurementPickList").click(function () {

        //Disable edit for unauthorised user       
        if ($("#hdfCanModifyMeasurementReferenceData").val() == "true") {
            measurementPickListGridEditMode = "row";
            $('#btnSavePickList').prop('disabled', false);
        }
        else {
            measurementPickListGridEditMode = "none";
            $('#btnSavePickList').prop('disabled', true);
        }
    });

Please let me know why the same code is not working for internet explorer browser version(10.0).

Thanks

Poonam

8698874810