Expanding Rows

This API expands the rows to the specified level. If the structure does not have the number of levels, the API expands the entire structure. If a row Id does not exist, the API skips that row and does not throw an exception. This API is defined in emxUIFreezePane.js.

emxEditableTable.expand

This API requires this input argument:


  • arrRowIds. An array of row IDs.
  • level. The number of levels to expand; must be a positive integer value or the keyword All.

Example:

var arrRowIds = new Array (); 
var level = "1" ; 
arrRowIds.push( "0,0" ); 
arrRowIds.push( "0,0,0" ); 
arrRowIds.push( "0,1" ); 
emxEditableTable.expand(arrRowIds,level);

Any rowIds that to do not match rows in the context structure browser are ignored. If there are no matching rows, an error displays to the user.