File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -366,15 +366,14 @@ export let Datatable = {
366366 safe_run ( 'agGrid.onGridReady()' , spec . grid_args . onGridReady , param ) ;
367367 } ,
368368 onCellFocused : ( params : any ) => {
369- var row = gridOptions . api . getDisplayedRowAtIndex ( params . rowIndex ) ;
370- var cellValue = gridOptions . api . getValue ( params . column , row )
369+ let row = gridOptions . api . getDisplayedRowAtIndex ( params . rowIndex ) ;
370+ let cellValue = gridOptions . api . getValue ( params . column , row )
371371 if ( cellValue === undefined )
372372 cellValue = ''
373- document . querySelector ( '.ag-grid-cell-bar' ) . innerHTML = cellValue ;
374373
375374 if ( spec . cell_content_bar ) {
376375 let bar = elem . find ( '.ag-grid-cell-bar' ) ;
377- bar . show ( ) ;
376+ bar . text ( cellValue ) . show ( ) ;
378377 }
379378
380379 safe_run ( 'agGrid.onCellFocused()' , spec . grid_args . onCellFocused , params ) ;
You can’t perform that action at this time.
0 commit comments