Custom widgets can now implement updateTableRows().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2273 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
76707b5e30
commit
254e570ea4
13
yatecbase.h
13
yatecbase.h
|
@ -547,6 +547,19 @@ public:
|
|||
virtual bool setMultipleRows(const NamedList& data, const String& prefix = String::empty())
|
||||
{ return false; }
|
||||
|
||||
/**
|
||||
* Add or set one or more table row(s). Screen update is locked while changing the table.
|
||||
* Each data list element is a NamedPointer carrying a NamedList with item parameters.
|
||||
* The name of an element is the item to update.
|
||||
* Set element's value to boolean value 'true' to add a new item if not found
|
||||
* or 'false' to set an existing one. Set it to empty string to delete the item
|
||||
* @param data The list of items to add/set/delete
|
||||
* @param atStart True to add new items at start, false to add them to the end
|
||||
* @return True if the operation was successfull
|
||||
*/
|
||||
virtual bool updateTableRows(const NamedList* data, bool atStart = false)
|
||||
{ return false; }
|
||||
|
||||
/**
|
||||
* Insert a row into a table
|
||||
* @param item Name of the item to insert
|
||||
|
|
Loading…
Reference in New Issue