MultiSelection of records
void checkSelectedRecords()
{
Student inventLocal;
;
//getFirst method gets all the selected
records in the grid
inventLocal = Student_ds.getFirst(true);
while (inventLocal)
{
info(strfmt("You selected Item
%1",inventLocal.Studentid));
// get the next selected record
inventLocal = Student_ds.getNext();
}
}
------------------------------------------------------------------------------------------
void clicked()
{
super();
element.checkSelectedRecords();
}
check the buttons property
multiselect :: yes or not.
Leave a Comment