Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by German on Dec 20, 2007 07:39
open dhtmlx forum
dhtmlxtreegrid pro 1.5... How to pass total number of rows with form integration?

With dhtmlxtreegrid pro 1.5... How to pass total number of rows in grid using form integration?

German
Answer posted by Support on Dec 20, 2007 09:10
If you mean total number of rows in grid - it is not possible by API, can be made by code modification, by actually much more easy to implement just as separate code

<form onsubmit="do_things()"...
    <input type="hidden" name="total">


<script>
    function do_things(){
       document.forms[0].total.value=mygrid.getRowsNum();
    }
</script>