If you're using input fields to filter you don't need to embed them
into a form... that way you can put the fields directly into some TD`s
(better... intject those directly with Javascript so they are not
present on the "non-interactive" version of your page).


On Nov 4, 12:08 pm, Garrett Berneche <[EMAIL PROTECTED]>
wrote:
> I understand the difference between tables for layout and tables for
> tabular data, but I am also running headlong into problems with tables
> and AJAX.  Am I just being really dense?  I want to have a table where
> I can I replace certain parts of it (edit a row in place when you
> click on it, filter rows using a form that is in the first row of the
> table, add rows to the table through a form that is the last row of
> the table, etc.)  To do this don't I need a bunch of divs and forms
> scattered through my table, which is not allowed?
> Garrett
>
> On Nov 4, 10:10 am, "Jean-Marc (M2i3.com)" <[EMAIL PROTECTED]>
> wrote:
>
> > Garett,
>
> > Table for layout are generally considered bad but for data when data
> > is tabular you SHOULD be using a table.
>
> > Using divs, lists or other markup will only cloud the actual meaning
> > of the information you're presenting and depending on the browser the
> > visitor is using you could very well render the information
> > unusable.
>
> > Table were meant for tabular data... so if you have tabular data use
> > them.
>
> > Btw, there are multiple tags dealing with tables which you will want
> > to look into (I mean part the TABLE, TR and TD).  look into the THEAD,
> > TBODY, TFOOT, TH (for headings, to separate titles from data).
>
> > Jean-Marchttp://m2i3.com/blog/jean-marc
>
> > On Nov 3, 9:33 pm, Garrett Berneche <[EMAIL PROTECTED]>
> > wrote:
>
> > > I know this is accepted practice for layouts, but I am dealing with
> > > tabular data.  Do I still want to replace them with divs?  Off hand it
> > > seems to me that this would be more complex then doing it with nested
> > > lists.
>
> > > On Nov 3, 11:31 am, Thorsten Müller <[EMAIL PROTECTED]> wrote:
>
> > > > Just use divs, position & style them as you like with css, like float:
> > > > left.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to