I believe column headers are only added automatically for tables that are
in a ``ui.gadgets.scrollers:scroller``.

You can see in ``<scroller>`` where the code calls
``viewport-column-header``.  Without seeing your code, I'm not sure why
(aside from "being contained by a border not a scroller") the column
headers appeared when you removed ``{ 3 3 } <border>``.

On Mon, Jun 19, 2017 at 11:06 AM, Alexander Ilin <ajs...@yandex.ru> wrote:

> Hello again!
>
>   For some reason, the column headers appeared when I removed { 3 3 }
> <border> from the table.
>   I don't understand what the interaction here is. If someone could share
> an insight, I'd appreciate it.
>   Thanks!
>
> 19.06.2017, 20:14, "Alexander Ilin" <ajs...@yandex.ru>:
> > Hello!
> >
> >   I'm looking at the Inspector code in `ui.tools.inspector`, and I can't
> see how it adds the heading to the Contents table.
> >   I'm making a table, and I want it to have column headings, much like
> the Inspector has for "Key" and "Value".
> >   I have overridden the `column-titles` method of my renderer to return
> `{ "col1" "col2" }`, but these column titles are nowhere to be seen.
> >   What am I missing?
> >
> > ---=====---
> >  Александр
> >
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
> ---=====---
>  Александр
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to