$tblDemo->defineCheckbox("fldCheckbox"); #i can disallow deleting of rows from the table #http://ajaxcrud.com/api/index.php?id=disallowDelete //$tblDemo->disallowDelete(); #i can disallow adding rows to the table #http://ajaxcrud.com/api/index.php?id=disallowAdd //$tblDemo->disallowAdd(); #i can add a button that performs some action deleting of rows for the entire table #http://ajaxcrud.com/api/index.php?id=addButtonToRow //$tblDemo->addButtonToRow("Add", "add_item.php", "all"); #set the number of rows to display (per page) $tblDemo->setLimit(30); #set a filter box at the top of the table //$tblDemo->addAjaxFilterBox('fldField1'); #if really desired, a filter box can be used for all fields $tblDemo->addAjaxFilterBoxAllFields(); #i can set the size of the filter box //$tblDemo->setAjaxFilterBoxSize('fldField1', 3); #i can format the data in cells however I want with formatFieldWithFunction #this is arguably one of the most important (visual) functions $tblDemo->formatFieldWithFunction('fldField1', 'makeBlue'); $tblDemo->formatFieldWithFunction('fldField2', 'makeBold'); //$tblDemo->modifyFieldWithClass("fldField1", "zip required"); //for testing masked input functionality //$tblDemo->modifyFieldWithClass("fldField2", "phone"); //for testing masked input functionality //$tblDemo->onAddExecuteCallBackFunction("mycallbackfunction"); //uncomment this to try out an ADD ROW callback function $tblDemo->deleteText = "delete"; ?> <div style="float: left"> Total Returned Rows: <b><?php echo $tblDemo->insertRowsReturned(); ?>