ajaxCRUD.com

» a PHP class to create / read / update / delete from a database table using AJAX

   by loud canvas media

AjaxCRUD API Reference

<< Reference overview
<< Home

setAjaxFilterBoxSize

sets the size (lengh of the textbox) of an ajax filter box
void setAjaxFilterBoxSize( String fieldName, int size)
Use this function when you want to increase or decrease the size of an ajax filter box. You must use the addAjaxFilterBox(fieldname) or addAjaxFilterBoxAllFields() function in order to make this work

Details

Requires addAjaxFilterBox or addAjaxFilterBoxAllFields
Type function
Returns
Default 10

Parameters

fieldName
name of the field you want to search by
size
size of the textbox (eg 5, 10...)

Example

$tblDemo->addAjaxFilterBox('fldField1'); $tblDemo->setAjaxFilterBoxSize('fldField1', 4);

See also

New, Edit

 

"AjaxCRUD is wonderful."
~Peter Barone