examples/examples.js
function(data) {
            if (data.row.index === 5) {
                data.cell.styles.fillColor = [40, 170, 100];
            }

            if ((data.row.section === 'head' || data.row.section === 'foot') && data.column.dataKey === "expenses") {
                data.cell.text = '' // Use an icon in didDrawCell instead
            }

            if (data.row.index === 0 && data.row.section === 'body' && data.column.dataKey === 'city') {
                data.cell.text = 'とうきょう'
            }
        }
function(data) {
            if (data.row.index === 5) {
                data.cell.styles.fillColor = [40, 170, 100];
            }

            if ((data.row.section === 'head' || data.row.section === 'foot') && data.column.dataKey === "expenses") {
                data.cell.text = '' // Use an icon in didDrawCell instead
            }

            if (data.row.index === 0 && data.row.section === 'body' && data.column.dataKey === 'city') {
                data.cell.text = 'とうきょう'
            }
        }
function ( data ) { if ( data . row . index === 5 ) { data . cell . styles . fillColor = [ 40 , 170 , 100 ] ; } if ( ( data . row . section === 'head' || data . row . section === 'foot' ) && data . column . dataKey === "expenses" ) { data . cell . text = '' // Use an icon in didDrawCell instead } if ( data . row . index === 0 && data . row . section === 'body' && data . column . dataKey === 'city' ) { data . cell . text = 'とうきょう' } }
Use for customizing texts or styles of specific cells after they have been formatted by this plugin. This hook is called just before the column width and other features are computed.
Use for customizing texts or styles of specific cells after they have been formatted by this plugin . This hook is called just before the column width and other features are computed .