Get KoolPHP UI with 30% OFF!

Getting the row number to PHP from Handle_OnRowSelect(sender,args)

Ali Ben Miloud
I have the following working function:
<script type="text/javascript">
function Handle_OnRowSelect(sender,args)
{
var _row = args["Row"];
var _dataitem = _row.getDataItem();
var $RowSelected= Number(_row);
}

</script>
How can I return the row number of the seleted row to PHP ?
Thank you.
Posted Aug 18, 2016 , edited Aug 19, 2016 Kool -
Riho Ellermaa
You can call your PHP code from there:
...
window.open("HandleRowNumber.php?rowNumber=" + Number(_row), "_self");
...
Posted Aug 22, 2016 Kool
Ali Ben Miloud
Thank you Riho I will try this.
Posted Aug 24, 2016 Kool