jQuery UI Widgets Forums Grid change the color of the line

This topic contains 1 reply, has 1 voice, and was last updated by  Serdar 5 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • change the color of the line #135103

    Serdar
    Participant

    hello when I use a grid with a checkbox, the color of the cell where the checkbox is does not change.is there a way to do this ?
    thanks

       var cellclass = function (index, columnfield, value) {
             
             return 'rowError'; 
        }
        
               columns: [
                    {
                        text: '', pinned: true, sortable: false, filterable: false, editable: false,
                        groupable: false, draggable: false, resizable: false,
                        datafield: 'ROW_NUMBER', columntype: 'number', width: '5%',
                        cellsrenderer: function (row, column, value) {
                            return "<div style='font-size: 13px;margin: 4px;position: relative;text-align: center;'>" + (value + 1) + "</div>";
                        },
                        cellclassname: cellclass
                    },
                    { text: 'OWNER', columntype: 'textbox', datafield: 'OWNER_CODE', width: "20%", cellclassname: cellclass },
                    { text: 'NAME', columntype: 'textbox', datafield: 'OWNER_NAME', width: "31%", cellclassname: cellclass },
                
                ]

    https://ibb.co/s2pWhsQ

    change the color of the line #135106

    Serdar
    Participant

    hello when I use a grid with a checkbox, the color of the cell where the checkbox is does not change.is there a way to do this ?
    thanks

       var cellclass = function (index, columnfield, value) {
             
             return 'rowError'; 
        }
        
               columns: [
                    {
                        text: '', pinned: true, sortable: false, filterable: false, editable: false,
                        groupable: false, draggable: false, resizable: false,
                        datafield: 'ROW_NUMBER', columntype: 'number', width: '5%',
                        cellsrenderer: function (row, column, value) {
                            return "<div style='font-size: 13px;margin: 4px;position: relative;text-align: center;'>" + (value + 1) + "</div>";
                        },
                        cellclassname: cellclass
                    },
                    { text: 'OWNER', columntype: 'textbox', datafield: 'OWNER_CODE', width: "20%", cellclassname: cellclass },
                    { text: 'NAME', columntype: 'textbox', datafield: 'OWNER_NAME', width: "31%", cellclassname: cellclass },
                
                ]

    https://ibb.co/s2pWhsQ

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.