Re: Parsing programmatically constructed inlineconstructors

Alex Russell <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Organization netWindows.org
Message-ID <[email protected]>
On Tuesday 09 September 2003 01:18, Christian Boulanger wrote:
> > Please note that this method is neither blessed nor
> > recommended. Programatic
> > constructors are provided for a reason.
>
> I thought so. But then if I want to populate a NW sort_table with data
> using javascript, what would I do after setting the table up
> programmatically (docs are missing here)...

Ahh. You've hit upon the special case in which there is no programatic 
constructor provided = )

The sort table is something of an odd duck since it's more of a behavior and 
less of a widget. Instead, it relies on having a well-formed node to work 
from. If you need a widget that will let you add rows post-init, I suggest 
the gen_data_table. It does sorting (in addition to column resizing) and will 
let you add and remove rows programatically.

HTH

-- 
Alex Russell
[email protected]    BD10 7AFC 87F6 63F9 1691 83FA 9884 3A15 AFC9 61B7
[email protected]  F687 1964 1EF6 453E 9BD0 5148 A15D 1D43 AB92 9A46

_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.