NEW3.01.11 · Released 3 April 2019
NEWfinPOWER Connect
Released in
3.01.11
3 April 2019
  1. Opened28 Mar
  2. Closed28 Mar
  3. Released3 Apr
Article 15980 Job J022096

HTML Widgets; Grids; Added auto-binding functionality

The ability to auto-bind cell values from an object has been added to grids.

The example below shows how to use the new AutoBind method and also demonstrates setting cells to custom values after auto-binding.

function gridBreakdown_InitialiseRow(e) {
  var item = mResultsBreakdown[e.row.listIndex];
  
  // Auto-populate cell values from object
  e.row.AutoBind(item);

  // Other values
  if (item.Name == "") e.row.cells.Name = "(not entered)"
}