editablegrid

Disable column in Dynamics CRM editable subgrid based on a condition

China☆狼群 提交于 2020-04-16 04:13:39
问题 Disable column in Dynamics CRM editable subgrid based on a condition I need to disable (make read-only) a column from an editable subgrid in a Dynamics CRM 365 form. In MS doc (https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt788311(v=crm.8), the way to get this done is by getting controls with: Xrm.Page.getControl("Opportunity_Installments").getGrid().getRows().getAll()[0].getData().entity.attributes.getAll()[0].controls but the problem is that controls

Disable column in Dynamics CRM editable subgrid based on a condition

时光怂恿深爱的人放手 提交于 2020-04-16 04:13:05
问题 Disable column in Dynamics CRM editable subgrid based on a condition I need to disable (make read-only) a column from an editable subgrid in a Dynamics CRM 365 form. In MS doc (https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt788311(v=crm.8), the way to get this done is by getting controls with: Xrm.Page.getControl("Opportunity_Installments").getGrid().getRows().getAll()[0].getData().entity.attributes.getAll()[0].controls but the problem is that controls

Editable cells in dynamic table

大兔子大兔子 提交于 2020-01-07 03:16:41
问题 I'm trying to make a dynamic table with variable no. of rows and columns. Table is created but when i click on the cells, they are not editable as i assumed they will be. $(document).ready(function() { $("#createit").click(function() { var num_rows = document.getElementById('rows').value; var num_cols = document.getElementById('cols').value; var tbody = ''; for (var i = 0; i < num_rows; i++) { tbody += '<tr>'; for (var j = 0; j < num_cols; j++) { tbody += '<td tabindex=' + j + '>'; tbody +=

Editable cells in dynamic table

走远了吗. 提交于 2020-01-07 03:16:28
问题 I'm trying to make a dynamic table with variable no. of rows and columns. Table is created but when i click on the cells, they are not editable as i assumed they will be. $(document).ready(function() { $("#createit").click(function() { var num_rows = document.getElementById('rows').value; var num_cols = document.getElementById('cols').value; var tbody = ''; for (var i = 0; i < num_rows; i++) { tbody += '<tr>'; for (var j = 0; j < num_cols; j++) { tbody += '<td tabindex=' + j + '>'; tbody +=