1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Responsive View on the tables

Discussion in 'Community' started by outbreak198x, Sep 11, 2019.

  1. outbreak198x

    outbreak198x New Member

    Level: Community
    Hello,

    i already found some threads here how to get the tables responsive, but i don't know how to exactly do it.

    http://fabrikar.com/forums/index.php?threads/make-tables-truly-responsive.44095/

    in this article is suggested to edit the default_repeat_Group_row.php - in my version the name is default_repeatgroup_row.php - ok, i give it a try, changed the line in all 3 files with that name... but nothing changed.

    then i found the thread linked to another side how to get tables responsive...
    ok, but where should i add this html or css file? - i've just a menu link to farbik form.

    it's not an option for me to just disable some columns.

    it should be like the "No more tables" link

    maybe someone can help me - thx :)
     
  2. startpoint

    startpoint Active Member

    Level: Community
    You can deep learn how to build custom templates in Fabrik.
     
  3. outbreak198x

    outbreak198x New Member

    Level: Community
    Sure ;) - but responsive tables should be default setting...
     
  4. startpoint

    startpoint Active Member

    Level: Community
    Fabrik is a open source project.
    You can use it as you want and whatever you can do with it.
     
  5. troester

    troester Well-Known Member Staff Member

    Level: Community
    HTML tables are not "responsive", this is not a Fabrik thing.
    In list settings you can hide columns depending on screen size (so this IS default, but it's always up to you to define what to display on which screen size, this can't be done automatically).

    As @startpoint says you can create a custom template.
    If you always want to show all data you can e.g. start with the div template, use flex-box CSS ...
     
  6. outbreak198x

    outbreak198x New Member

    Level: Community
    yes, and it's a great thing :)

    and i'll try to do another template.
     
  7. startpoint

    startpoint Active Member

    Level: Community
    ... but be carefully for html structure if you plan to use ajaxify function in list view.
     
  8. mahmoodee

    mahmoodee Member

    Level: Community
  9. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Community
    We're looking at doing some serious template redesigns in the next release (once 3.9.1 is out and we work on 3.10) for forms and lists. We're still using the ones we wrote for the first 3.0 bootstrapped release, which were not much improved from the Fabrik 2.x ones. So they are definitely showing their age. But it's a lot of work to do anything serious to them, and I just haven't had time.

    -- hugh
     
  10. outbreak198x

    outbreak198x New Member

    Level: Community
    that's what i thought will do the thing... - and i tried to add the responsive rt class in the php file, but i did not get it running, in what file exactly do i need to enter it?
     
  11. troester

    troester Well-Known Member Staff Member

    Level: Community
    You can create a custom template: copy bootstrap and modify the table tag in default.php
     
  12. outbreak198x

    outbreak198x New Member

    Level: Community
    well, Bootstrap in views/form/tmpl? or list or details?
    i already run fileseek with <table on the full views folder, and changed it to responsive rt - but still same results
     
  13. troester

    troester Well-Known Member Staff Member

    Level: Community
    You said a responsive table, so it's list layout.
    I don't know if this mentioned plugin is working (you can discuss if this is "responsive"), but view/list/tmpl would be the place to modify the table class.

    Edit:
    I just tried. It's not what I would use but it's working.
     
    Last edited: Sep 17, 2019 at 6:32 PM

Share This Page