Stephan Janssen
Hi,
In a single select table it doesn’t seem possible to deselect a row when one is checked. Is this expected, or am I missing something?
SPARK Support
Hi Stephan,
There is no Out-of-the-Box method to clear the selection. However, you could provide a button with the following logic:
<script>
function clearSelection()
{
var tbl = page.ui.get(“Table1”);
if(tbl.getSelectedIndex()){
tbl.setRecordSelected(tbl.getSelectedIndex(), false);
}
}
</script>
Then call @clearSelection form the On Click event of the button.
Regards,
Stephen P.