Defect #822
Please remove dummy data
Status:
New
Priority:
Normal
Assignee:
-
Start date:
09/22/2014
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
all
Description
Hi
When the tree is not initialized (or has somehow crashed) there are example records in the treeview -->> "colors / sports / food". Can thise data be removed?
If some data is needed for technical reasons, then please substitute with something like "No data in tree"
History
Updated by Imre Tokai over 9 years ago
Hello Harry,
as quick work-around might embed below method's body within try/catch
globals.createDataSet()
and in catch block
treeviewDataSet = databaseManager.createEmptyDataSet( 0, ['id', 'pid', 'treeColumn']);
treeviewDataSet.addRow([null, null, 'Empty']); // header labels
treeviewDataSet.addRow([1, null, 'No data in tree']); // content
return treeviewDataSet;
Regards