Article Details
Id: | 17407 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.03.04 |
Opened: | 02/10/2020 |
Closed: | 02/10/2020 |
Released: | 02/12/2020 |
Job: | J025171 |
HTML Widgets; widget.UI.Grid; New 'blankTip' property for grid cells
A new blankTip property can be set for grid cells in the widget.UI.Grid's InitialiseRow event.
Applies to cells with the following values:
- null
- undefined
- blank string
The following code sample demonstrates this:
function gridTest_InitialiseRow(e) {
var item = mRecord_Test[e.row.listIndex];
// Update cells
e.row.AutoBind(item);
// Blank Tip
e.row.cells.MyCell.blankTip = "(default colour scheme)";
}
NOTE: For editable cells, the blank tip will only display when the cell is NOT being edited.