agGrid

any way to use the suppressRowDeselect method?

something like
if (!rowSelectedValidated) {
groupingtable.supressRowDeselect
}