new rcube_list_widget()
Roundcube List Widget class
Members
-
container
-
Set the scrollable parent object for the table's fixed header
Methods
-
_rowIndex()
-
Helper method to emulate the rowIndex property of non-tr elements
-
add_dragfix()
-
Creates a layer for drag&drop over iframes
-
blur()
-
remove focus from the list
-
clear()
-
Remove all list rows
-
clear()
-
Réécriture de la fonction clear de la classe javascript rcube_list_widget Permet d'ajouter le triggerEvent clear Nécessaire pour le scroll infini notamment
-
clear_selection()
-
Unselect selected row(s)
-
click_row()
-
onmouseup-handler of message list row
-
column_drag_mouse_move()
-
Handler for mouse move events for dragging list column
-
column_drag_mouse_up()
-
Handler for mouse up events for dragging list columns
-
column_replace()
-
Replaces two columns
-
del_dragfix()
-
Removes the layer for drag&drop over iframes
-
drag_column()
-
onmousedown-handler of message list column
-
drag_mouse_move()
-
Handler for mouse move events
-
drag_mouse_up()
-
Handler for mouse up events
-
drag_row()
-
onmousedown-handler of message list row
-
enable_checkbox_selection()
-
Enable checkbox selection
-
focus()
-
Set focus to the list
-
focus_noscroll()
-
Focus the given element without scrolling the list container
-
get_next_row()
-
get first/next/previous/last rows that are not hidden
-
get_selection()
-
Getter for the selection array
-
get_single_selection()
-
Return the ID if only one row is selected
-
hide_column()
-
Set/unset the given column as hidden
-
highlight_children()
-
Highlight/unhighlight all children of the given row
-
highlight_row()
-
Highlight/unhighlight a row
-
in_selection()
-
Check if given id is part of the current selection
-
init()
-
get all message rows from HTML table and init each row
-
init_header()
-
Init list column headers and set mouse events on them
-
init_row()
-
Init list row and set mouse events on it
-
insert_checkbox()
-
Add selection checkbox to the list record
-
insert_row()
-
Add row to the list and initialize it
-
invert_selection()
-
Invert selection
-
is_event_target()
-
Check target of the current event
-
key_press()
-
Handler for keyboard events
-
remove_row()
-
'remove' message row from list (just hide it)
-
row_children()
-
Returns IDs of all rows in a thread (except root) for specified root
-
scrollto()
-
Try to scroll the list to make the specified row visible
-
select()
-
Alias method for select_row
-
select_all()
-
Select each row in list
-
select_children()
-
Add all children of the given row to selection
-
select_first()
-
Select first row
-
select_last()
-
Select last row
-
select_next()
-
Select row next to the specified or last selected one Either below or above.
-
select_row()
-
selects or unselects the proper row depending on the modifier key pressed
-
shift_select()
-
Perform selection when shift key is pressed
-
update_row()
-
Update existing record
-
use_arrow_key()
-
Special handling method for arrow keys