Set of functions for "list" widget management Usefull for the tags "list", "listhead", "listbody" and "listrow" ( see the TagLib )
| Method Summary | |
void |
fwkAdjustHeadWidth(string sIdHead,
string sIdBody)
Internal framework function Automatically called by the widget to adjust the width of the list head |
number |
fwkListGetRowCount(object obj)
Returns the number of rows |
number |
fwkListGetRowCount(string id)
Returns the number of rows |
object |
fwkListGetRows(object obj,
string sFctArg)
Returns all rows of the list |
object |
fwkListGetRows(string id,
string sFctArg)
Returns all rows of the list |
object |
fwkListGetSelectedRow(object obj,
string sFctArg)
Returns the selected row of the list |
object |
fwkListGetSelectedRow(string id,
string sFctArg)
Returns the selected row of the list |
object |
fwkListGetTBody(object obj,
string sFctArg)
Returns the TBODY of the list widget |
object |
fwkListGetTBody(string id,
string sFctArg)
Returns the TBODY of the given list widget id |
void |
fwkListRowMouseOut(object oTR)
Internal framework function Function called by the 'onmouseout' event |
void |
fwkListRowMouseOver(object oTR)
Internal framework function Function called by the 'onmouseover' event |
void |
fwkListRowSelect(object oTR)
Internal framework function Function called by the framework to select a row |
void |
fwkListRowUnSelect(object oTR)
Internal framework function Function called by the framework to unselect a row |
void |
fwkListSelect(object obj,
number index)
Selects the row of the list associated with the given index |
void |
fwkListSelect(string id,
number index)
Selects the row of the list associated with the given index |
void |
fwkListSelectFirst(object obj)
Selects the first row of the list |
void |
fwkListSelectFirst(string id)
Selects the first row of the list |
void |
fwkListSelectLast(object obj)
Selects the last row of the list |
void |
fwkListSelectLast(string id)
Selects the last row of the list |
void |
fwkListSelectNext(object obj)
Selects the next row of the list |
void |
fwkListSelectNext(string id)
Selects the next row of the list |
void |
fwkListSelectPrev(object obj)
Selects the previous row of the list |
void |
fwkListSelectPrev(string id)
Selects the previous row of the list |
void |
fwkListUnSelect(object obj)
Unselect the selected row if any |
void |
fwkListUnSelect(string id)
Unselect the selected row if any |
void |
fwkScrollHead(string sIdHead,
object oBody)
Internal framework function Function called by the 'onscroll' event to force the list head to follow the list body horizontal position |
| Method Detail |
public object fwkListGetTBody(object obj,
string sFctArg)
obj - : the list body DIV objectsFctArg - : caller function name
public object fwkListGetTBody(string id,
string sFctArg)
id - : the id of the list body DIV elementsFctArg - : caller function name
public number fwkListGetRowCount(object obj)
obj - the list reference
public number fwkListGetRowCount(string id)
id - : the id of the list body DIV element
public object fwkListGetRows(object obj,
string sFctArg)
obj - the list referencesFctArg - : caller function name ( or null )
public object fwkListGetRows(string id,
string sFctArg)
id - : the id of the list body DIV elementsFctArg - : caller function name ( or null )
public object fwkListGetSelectedRow(object obj,
string sFctArg)
obj - the list referencesFctArg - : caller function name or null
public object fwkListGetSelectedRow(string id,
string sFctArg)
id - : the id of the list body DIV elementsFctArg - : caller function name or null
public void fwkListSelect(object obj,
number index)
obj - the list referenceindex - the row index
public void fwkListSelect(string id,
number index)
id - : the id of the list body DIV elementindex - the row indexpublic void fwkListSelectFirst(object obj)
obj - the list referencepublic void fwkListSelectFirst(string id)
id - : the id of the list body DIV elementpublic void fwkListSelectLast(object obj)
obj - the list referencepublic void fwkListSelectLast(string id)
id - : the id of the list body DIV elementpublic void fwkListSelectNext(object obj)
obj - the list referencepublic void fwkListSelectNext(string id)
id - : the id of the list body DIV elementpublic void fwkListSelectPrev(object obj)
obj - the list referencepublic void fwkListSelectPrev(string id)
id - : the id of the list body DIV elementpublic void fwkListUnSelect(object obj)
obj - the list referencepublic void fwkListUnSelect(string id)
id - : the id of the list body DIV elementpublic void fwkListRowUnSelect(object oTR)
oTR - the row element reference ( the 'TR' object )public void fwkListRowSelect(object oTR)
oTR - the row element reference ( the 'TR' object )public void fwkListRowMouseOver(object oTR)
oTR - the row element reference ( the 'TR' object )public void fwkListRowMouseOut(object oTR)
oTR - the row element reference ( the 'TR' object )
public void fwkAdjustHeadWidth(string sIdHead,
string sIdBody)
sIdHead - the list head idsIdBody - the list body id
public void fwkScrollHead(string sIdHead,
object oBody)
sIdHead - the list head idoBody - the list body reference