Our blazing fast Grid component built with pure JavaScript


Post by suhas.kachare »

Hi Team ,

In grid we are grouping the columns by particular field . Whenever we are trying to edit any child field , the value is not getting set in the editor unless we provide null value to that specific field at parent level.

Is there any other way through which I can achieve the results without passing the null value to every child field at parent level?

Attachments
Screen Recording 2022-12-12 at 10.34.57 AM.mov
(2.09 MiB) Downloaded 30 times

Post by mats »

Can you please share your column definitions and a runnable test case?


Post by suhas.kachare »

below is the row data of grouped column

const rowData = {
  "data":[
    {
      "p_name":{
        "oid":"6a_h",
        "id":226,
        "text":"celoxis"
      },
      "groupField":"p_name",
      "p_deadline":null,    // if we don't give this null value , the cell value is not getting set in editor
      "children":[
        {
        
"oid":"6a_h", "id":226, "p_name":null, "groupField":"p_client_id", "p_client_id":{ "isHoly":false, "text":"Tesla", "id":143, "oid":"3z_1r" }, "p_mgr_id":{ "id":104, "oid":"2w_o", "text":"Brian Jones" }, "p_shealth":{ "text":"At Risk", "value":"AT_RISK", "style":"solid", "tooltip":"Project is expected to be delayed by 2 days." }, "p_priority":"LOW", "p_deadline":{ "text":null, "format":"DD-MMM-YY" } } ], "expanded":true }, ] }

Post by alex.l »

Hi suhas.kachare,

Please post columns definition and data model you used. Best of all to see runnable test case.

All the best,
Alex


Post Reply