select grid rows
Posted: Thu Jun 14, 2018 6:37 am
Hello to *ALL,
i have a grid and i want to checked/unchecked the Grid rows. the checkbox starts a Javascript to do this
This function sets the value for all rows.
if the user filters the lines, I only want to mark the filtered lines.
How can i do this
Thanks for your help
Michael
i have a grid and i want to checked/unchecked the Grid rows. the checkbox starts a Javascript to do this
Code: Select all
var myGrid = getObj("Grid01");
var myRows = myGrid.grid.getRecordCount();
var newVal = get("HdrCheckBox");
for (var x = 1; x <= myRows; x++) {
myGrid.grid.setDataValue(x, "CK_PRINT", newVal);
}
if the user filters the lines, I only want to mark the filtered lines.
How can i do this
Thanks for your help
Michael