Oh, no you can fill them with whatever you like; any html you care to. Also,
you can pass in elements if you like, so you could do:
mytable.push('foo', 'bar', new Element('img', {src: 'foobar.jpg'}))

On Wed, Oct 21, 2009 at 7:02 AM, Rolf -nl <[email protected]> wrote:

>
> Yes I understand, but my question is if the plugin HtmlTable is meant
> to be used with tables containing just text and numbers or also for a,
> for example, data grid like table with a column with checkboxes to
> select a row (for whatever reason) and in the last column a bunch of
> tools represented like icons (edit, delete, add assets, change order,
> a thumbnail image, etc.)
>
> For example, see this image:
> http://www.softpedia.com/screenshots/Powerful-PHP-DataGrid_2.png
> It has tools/links/icons and form element in the table. Would you use
> HtmlTable for this, or, is HtmlTable strictly meant for tables like:
>
> http://img.brothersoft.com/screenshots/softimage/a/apnsoft_datagrid-57869-1.jpeg
> -- just data (ofcourse, you could add JS logic to it so dblclick on a
> row = edit data with an input field, but I don't mean that
> specifically).
>
> You know what I mean? The examples in the docs only demonstrate it
> quickly with just strings, nothing fancy.
>
> Cheers
>
>
> On Oct 21, 1:12 am, Aaron Newton <[email protected]> wrote:
> > you can define custom sorters that use, for example, the alt values from
> > images. Or tell it not to sort specific columns.
> >
> > On Tue, Oct 20, 2009 at 2:45 PM, Rolf -nl <[email protected]>
> wrote:
> >
> > > Is HtmlTable and the additions to it (like zebra/sort) aimed for
> > > tables with just text and numbers or..?
> > > I mean, what if I wanted to add a column to a table containing images/
> > > icons (links/buttons) that provide actions for each row, like edit/
> > > delete/copy/addXYZ or a form element like a checkbox, etc.
> >
> > > It is probably possible (not tested yet), but is it also meant for it
> > > to use it like this? For instance in a datagrid like table with tools.
>

Reply via email to