I am new to YUI and I am using YUI 2 Datatable, I would like to alert if the total number of record is more than 4000 and not to render the table.
below is my piece of code.
this.myDataSource = new YAHOO.util.DataSource("<?php echo $html->url('/parser/dynload').'?params_array_serialized='.$params_array_serialized; ?>");
this.myDataTable = new YAHOO.widget.DataTable("gridbox", myColumnDefs,this.myDataSource, myConfigs);
I dont know how to get total number of record. Any one can help in this.