EDITTABLE - all rows on display even with no data (OpenInsight 32-Bit)
At 14 AUG 2008 08:24:40AM Martin Drenovac wrote:
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
At 14 AUG 2008 09:01AM Sean FitzSimons wrote:
Martin,
No there is nothing in the system, you will have to programatically accomplish this.
Sean
At 14 AUG 2008 10:33AM Mike Ruane wrote:
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
At 14 AUG 2008 11:13AM [email protected]'s Don Bakke wrote:
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.
At 14 AUG 2008 11:52AM Sean FitzSimons wrote:
Martin,
Is the table empty and you want it populated or is the table partially filled and you want it padded?
Sean
At 14 AUG 2008 07:00PM Martin Drenovac wrote:
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.
At 14 AUG 2008 08:33PM Colin Rule wrote:
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