Selection Mode


One of the new features in Sigma Grid 1.2 is the ability to select non-contiguous rows. This allows for more robust manipulation of records in the Grid. The following operating budget example shows this advanced features of the Sigma Grid, including the ability to select and transmit multiple rows.

  • In this example input data set is in JSON format.
  • Select multiple rows using checkboxes.
  • Click on Submit button to send an array with multiple selected rows to the server.
  • Assemble a XML string with the array returned by the SigmaGrid.getSelectedRowsValue() method.

Code

var context = {radioBox:true;
    //some other context parameters go here...
    };

 Single Selection



Code 

    var context = {checkBox:true;
        //some other context parameters go here...
    };

Multi Selection 


Tips 

You may delete the selected row(s) by calling SigmaGrid.deleteSelectedRows(). Have a try.
Click me to delete selected row(s) in the first grid
Click me to delete selected row(s) in the second grid

All contents are (c) Copyright 2005 - 2007, Sigma Software Inc. All rights Reserved