79360923

Date: 2025-01-16 09:11:24
Score: 0.5
Natty:
Report link

You can :

code :

              {
                headerCheckboxSelection: true,
                hide:false,
                checkboxSelection: (params) => {
                    // check if ISBLANK = 1
                    if (params.data.ISBLANK === '1') {
                        return false;  // no check box display
                    }
                    return true;   
                },
                minWidth: 50,
                headerClass: 'aggrid_header_check',
                cellClass: 'aggrid_cell_check',
  
            },
            {
                field: "ITEM_GROUP",
                headerName: "Item",
                minWidth: 160,
                cellStyle: { textAlign: "left" },
                

            },
            {
                field: "ISLOCAL",
                headerName: "Local",
                minWidth: 60,
                cellRenderer: params => {
                    if (params.data.ISBLANK === '1') {
                        return ''; 
                    }
                    return `<input type="checkbox" ${params.value ? 'checked' : ''} />`;
                }

              
            }

Group column example

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: H u y