This is the ListBox Element, derivate from thyGridPanel.
The thyListBox permits the user to do all things a common ListBox allows, but differently from other ListBoxes, thyListBox has 3 columns:
If you don’t want to show indexes, set .thyListBox_col-1 CSS class width property to 0px. The same applies to col0, which is id/value. If you do that you’d have a common listbox.
This is the ListBox Element, derivate from thyGridPanel. | |
Removes all rows from list | |
Unselect all rows | |
Overloaded method that prevents the insertion of columns in a listbox | |
Overloaded method that prevents the insertion of columns in a listbox | |
Overloaded method that garantees if the user sends just one field for each roll, they will be assumed as contents and their values will be set to null | |
Returns an array with the values of the selected rows | |
Returns an array with the indexes of the selected rows | |
Returns all selected informations | |
Removes all selected rows | |
Returns the content associated with the given value | |
Searches for a specified string inside values column | |
Return selected values |
Returns all selected informations
See thyGrid::getSelectedRows for more information
Removes all selected rows
See thyGrid::removeSelectedRows for more information
Removes all rows from list
p.cleanUp = function ()
Unselect all rows
p.reset = function ()
Overloaded method that prevents the insertion of columns in a listbox
p.insertColumn = function ()
Overloaded method that prevents the insertion of columns in a listbox
p.appendColumn = function ()
Overloaded method that garantees if the user sends just one field for each roll, they will be assumed as contents and their values will be set to null
p._thyGridAppendRow = p.appendRow; p.appendRow = function ( row )
Returns an array with the values of the selected rows
p.getSelectedValues = function ()
Returns an array with the indexes of the selected rows
p.getSelectedIndexes = function ()
Returns the content associated with the given value
p.getContentByValue = function ( value )
Searches for a specified string inside values column
p.search = function ( str )
Return selected values
p._sweepOutContents = function ()
Returns a thyCollection composed of other thyCollections, each one with the contents of a selected row.
p.getSelectedRows = function ()
Remove all selected Rows from Grid
p.removeSelectedRows = function ()