|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DHTMLSuite.tableWidgetPageHandler
Purpose of class: Make HTML tables sortable
Defined in dhtml-suite-for-applications.js
Field Summary | |
Object |
activePageNumber
|
Object |
callbackOnAfterNavigate
|
Object |
layoutCSS
|
Object |
linkPagePrefix
|
Object |
linkPageSuffix
|
Object |
maximumNumberOfPageLinks
|
Object |
objectIndex
|
Object |
tableRef
|
Object |
targetRef
|
Object |
totalNumberOfRows
|
Object |
txtFirst
|
Object |
txtLast
|
Object |
txtNext
|
Object |
txtPrevious
|
Object |
txtResultOf
|
Object |
txtResultPrefix
|
Object |
txtResultTo
|
Constructor Summary | |
DHTMLSuite.tableWidgetPageHandler
()
|
Method Summary | |
void
|
goToPage(pageNo)
Go to a page |
void
|
init()
Initializes the script widget. |
void
|
setCallbackOnAfterNavigate(callbackOnAfterNavigate)
Specify call back function to execute after page navigatoin |
void
|
setHTMLOfResultList()
Create result list div |
void
|
setLayoutCss(layoutCSS)
set new CSS file |
void
|
setLinkPagePrefix(linkPagePrefix)
Set text/characters in front of each page link, example "[" to get page number in brackets |
void
|
setLinkPageSuffix(linkPageSuffix)
Set text/characters in front of each page link, example "[" to get page number in brackets |
void
|
setMaximumNumberOfPageLinks(maximumNumberOfPageLinks)
Set maximum number of page links displayed below the table, i.e. |
void
|
setTableRef(tableRef)
Connect to a tableWidget object. |
void
|
setTargetId(idOfHTMLElement)
Where do you want to insert the navigation links for the table |
void
|
setTotalNumberOfRows(totalNumberOfRows)
Specify total number of rows in the entire dataset |
void
|
setTxtFirstPage(txtFirst)
Set text label ("Last" page) |
void
|
setTxtLastPage(txtLast)
Set text label ("First" page) |
void
|
setTxtNext(newText)
Set text label (next page link) |
void
|
setTxtPrevious(newText)
Set text label (previous page link) |
void
|
setTxtResultOf(txtResultOf)
Set text label ("of"-result) |
void
|
setTxtResultPrefix(txtResultPrefix)
Set text label (prefix-result) |
void
|
setTxtResultTo(txtResultTo)
Set text label ("to"-result) |
Field Detail |
Object activePageNumber
Object callbackOnAfterNavigate
Object layoutCSS
Object linkPagePrefix
Object linkPageSuffix
Object maximumNumberOfPageLinks
Object objectIndex
Object tableRef
Object targetRef
Object totalNumberOfRows
Object txtFirst
Object txtLast
Object txtNext
Object txtPrevious
Object txtResultOf
Object txtResultPrefix
Object txtResultTo
Constructor Detail |
DHTMLSuite.tableWidgetPageHandler()
Method Detail |
void goToPage(pageNo)
Integer
- pageNumber
void init()
void setCallbackOnAfterNavigate(callbackOnAfterNavigate)
String
- callbackOnAfterNavigate-name of javascript function.
void setHTMLOfResultList()
void setLayoutCss(layoutCSS)
String
- cssFileName-name of new css file(DHTMLSuite.tableWidgetPageHandler.prototype.example = drag;-drop.css). Has to be set before init is called.
void setLinkPagePrefix(linkPagePrefix)
String
- linkPagePrefix=Character(s)in front of page links
void setLinkPageSuffix(linkPageSuffix)
String
- linkPageSuffix=Character(s)in front of page links
void setMaximumNumberOfPageLinks(maximumNumberOfPageLinks)
Integer
- maximumNumberOfPageLinks-(0 or false means=no limitation)
void setTableRef(tableRef)
Object
- tableRef=An object of class DHTMLSuite.tableWidget. It makes it possible for the tableWidget and this object to communicate.
void setTargetId(idOfHTMLElement)
String
- idOfHTMLElement=Id of HTML Element on your page.
void setTotalNumberOfRows(totalNumberOfRows)
Integer
- totalNumberOfRows=Total number of rows in the entire dataset.
void setTxtFirstPage(txtFirst)
String
- txtFirst=Label of link to "First" page ( default="First" ).This option is only used when you are limiting the number of pages shown.
void setTxtLastPage(txtLast)
String
- txtLast=Label of link to "Last" page ( default="Last" ).This option is only used when you are limiting the number of pages shown.
void setTxtNext(newText)
String
- newText=Text next page link
void setTxtPrevious(newText)
String
- newText=Text previous page link
void setTxtResultOf(txtResultOf)
String
- txtResultOf=Result of search, the "of" label ( DHTMLSuite.tableWidgetPageHandler.prototype.Result = 1;to 10 "of" 51 )
void setTxtResultPrefix(txtResultPrefix)
String
- txtResultPrefix=Text next page link
void setTxtResultTo(txtResultTo)
String
- txtResultTo=Result of search, the "to" label ( DHTMLSuite.tableWidgetPageHandler.prototype.Result = 1;"to" 10 of 51 )
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |