Class OCSP_FRMVIEW_LIST_FLEXGRID

Description

openCSP class file

Located in /db/forms/OCSP_FRMVIEW_LIST_FLEXGRID.phpclass (line 33)

OCSP_FRMVIEW
   |
   --OCSP_FRMVIEW_LIST
      |
      --OCSP_FRMVIEW_LIST_FLEXGRID
Class Constant Summary
 CLASS_SRC_FILE = __FILE__
Variable Summary
Method Summary
 string getGridDOMId ()
 string getJQueryDefinition ([boolean $debug = False], int $buttonColPos)
 string getList ([boolean $debug = False])
 void setGridAttribute (string $settingName, string $value)
 void setGridDOMId (string $aDOMId)
Variables
string $gridDOMId = "" (line 52)
  • access: protected
mixed $grid_attributes = array() (line 62)
  • access: protected
boolean $grid_showTableToggleBtn = True (line 59)
  • access: protected

Inherited Variables

Inherited from OCSP_FRMVIEW_LIST

OCSP_FRMVIEW_LIST::$btnIconSize
OCSP_FRMVIEW_LIST::$tbl_caption
OCSP_FRMVIEW_LIST::$tbl_summary

Inherited from OCSP_FRMVIEW

OCSP_FRMVIEW::$btnPos
OCSP_FRMVIEW::$btnTags
OCSP_FRMVIEW::$myBlocks
OCSP_FRMVIEW::$myControl
OCSP_FRMVIEW::$myFields
OCSP_FRMVIEW::$myForm
Methods
getGridDOMId (line 80)
  • access: public
string getGridDOMId ()
getJQueryDefinition (line 145)

returns the jQuery js to init the flexgrid

  • access: public
string getJQueryDefinition ([boolean $debug = False], int $buttonColPos)
  • int $buttonColPos:
    1. not show -1 left 1 right
  • boolean $debug
getList (line 272)

returns the list HTML code

string getList ([boolean $debug = False])
  • boolean $debug

Redefinition of:
OCSP_FRMVIEW_LIST::getList()
returns the list HTML code
setGridAttribute (line 129)

sets a jQuery.flexgrid attribute

height: 200, //default height width: 'auto', //auto width striped: true, //apply odd even stripes novstripe: false, minwidth: 30, //min width of columns minheight: 100, //min height of columns resizable: true, //resizable table url: false, //ajax url method: 'POST', // data sending method dataType: 'xml', // type of data loaded errormsg: 'Connection Error', usepager: false, // nowrap: true, // page: 1, //current page total: 1, //total pages useRp: true, //use the results per page select box rp: 15, // results per page rpOptions: [10,15,20,25,40], title: false, pagestat: 'Displaying {from} to {to} of {total} items', procmsg: 'Processing, please wait ...', query: '', qtype: '', nomsg: 'No items', minColToggle: 1, //minimum allowed column to be hidden showToggleBtn: true, //show or hide column toggle popup hideOnSubmit: true, autoload: true, blockOpacity: 0.5, onToggleCol: false, onChangeSort: false, onSuccess: false, onSubmit: false // using a custom populate function

  • access: public
void setGridAttribute (string $settingName, string $value)
  • string $settingName
  • string $value: (js escaped
setGridDOMId (line 72)
  • access: public
void setGridDOMId (string $aDOMId)
  • string $aDOMId

Inherited Methods

Inherited From OCSP_FRMVIEW_LIST

 OCSP_FRMVIEW_LIST::getBodyRowCols()
 OCSP_FRMVIEW_LIST::getCSV()
 OCSP_FRMVIEW_LIST::getFields()
 OCSP_FRMVIEW_LIST::getGroupRow()
 OCSP_FRMVIEW_LIST::getList()
 OCSP_FRMVIEW_LIST::getNbrOfColumns()
 OCSP_FRMVIEW_LIST::getTableBody()
 OCSP_FRMVIEW_LIST::getTableBodyRows()
 OCSP_FRMVIEW_LIST::getTableBodyStart()
 OCSP_FRMVIEW_LIST::getTableFooter()
 OCSP_FRMVIEW_LIST::getTableHeader()
 OCSP_FRMVIEW_LIST::getTableStart()

Inherited From OCSP_FRMVIEW

 OCSP_FRMVIEW::OCSP_FRMVIEW()
 OCSP_FRMVIEW::getBlocksMode()
 OCSP_FRMVIEW::getButtonImgTag()
 OCSP_FRMVIEW::getControl()
 OCSP_FRMVIEW::getDBObj()
 OCSP_FRMVIEW::getFieldsMode()
 OCSP_FRMVIEW::getFrmMode()
 OCSP_FRMVIEW::getMyForm()
 OCSP_FRMVIEW::getPosButtons()
 OCSP_FRMVIEW::setButtonIconSize()
 OCSP_FRMVIEW::setButtonImageTag()
 OCSP_FRMVIEW::setButtonPos()
 OCSP_FRMVIEW::setButtonTag()
 OCSP_FRMVIEW::setControl()
 OCSP_FRMVIEW::setControll()
 OCSP_FRMVIEW::setFrmMode()
 OCSP_FRMVIEW::setMyForm()
 OCSP_FRMVIEW::unsetBlocks()
Class Constants
CLASS_SRC_FILE = __FILE__ (line 43)
  • abstract:

Documentation generated on Thu, 08 Jan 2009 17:46:39 +0100 by phpDocumentor 1.4.0a2