Hi,
I have a hierarchical treeview.
In one of the detail tables I set ShowHeadersWhenNoRecords to false.
But I still get the headers shown as long as I have a "NoRecordsTemplate".
When I remove this template and set "NoDetailRecordsText" to some value it works - no headers, the text is shown...
BUT then I have no Commands available so I'm not able to insert a new record.
The idea - when I have no records I want to display something like "Sorry no XXX available - you can create one..".
In simple words - I want to display the caption (including commands) and the information text.
The reason - I have a lot of detail tables (at the same level) and most of them are usually empty.
So it would save a lot of space if I could avoid displaying the columns header with the filters.
My hope was that ShowHeaders... could do this job -- but it does not.
If I use it as it is -- I have no chance to add a new record.
If I use a template (which would enable me to add an "Insert button") the headers are always shown.
Did I miss something - or is this "by design"?
Regards
Manfred
I have a hierarchical treeview.
In one of the detail tables I set ShowHeadersWhenNoRecords to false.
But I still get the headers shown as long as I have a "NoRecordsTemplate".
When I remove this template and set "NoDetailRecordsText" to some value it works - no headers, the text is shown...
BUT then I have no Commands available so I'm not able to insert a new record.
The idea - when I have no records I want to display something like "Sorry no XXX available - you can create one..".
In simple words - I want to display the caption (including commands) and the information text.
The reason - I have a lot of detail tables (at the same level) and most of them are usually empty.
So it would save a lot of space if I could avoid displaying the columns header with the filters.
My hope was that ShowHeaders... could do this job -- but it does not.
If I use it as it is -- I have no chance to add a new record.
If I use a template (which would enable me to add an "Insert button") the headers are always shown.
Did I miss something - or is this "by design"?
Regards
Manfred