Is there a "magic" property for an edittable, much as there was the undocumented "etmethod" so that an empty table of 5 rows appears with the grid drawn without having to programatically load it with blank lines to get the effect. A single line in an edittable or 5 rows looks just that little bit limp.
Cheers
Martin,
No there is nothing in the system, you will have to programatically accomplish this.
Sean
Martin-
I believe that if there are no lines visible on an edittable, the user can't click on it. I think you'll always want at least on line, or maybe an 'Add Line' button that sends an InsertRow message.
Mike
Mike,
I might be misreading Martin's post, but I think he wants the opposite effect. That is, if the edittable is empty of data he wants it to be full of empty rows, not just one single empty row.
Martin,
Is the table empty and you want it populated or is the table partially filled and you want it padded?
Sean
Yes - that's the one. I want the edittable even if empty to show lines and if there's one line of data, and edittable is 4 deep, i want the other 3 showing. We are currently doing the manipulation ourselves as suggested by Sean - but I thought I'd try my luck.
Cheers guys - I'll wait for release 9.0.
I find this line of code works a charm for this situation.
At first glance it may seem strange.
IF TABLE=" THEN TABLE="
.TABLE-]ARRAY=TABLE
Colin