Rowspan and top borders

Rowspan and top borders

Braddo99Braddo99 Posts: 3Questions: 0Answers: 0
edited June 2012 in General
I would like to have a rightmost column which has a rowspan and then have darker borders on the top and bottom of the cells across the width of the table. Is this possible with dataTables? The effect is sort of like the "rules" html table tag.

In my project i would like to have this rowspan be the table portion with which users can scroll the table vertically - the cells in other cols should be selectable by dragging in iOS. The cells themselves should allow for scroll horizontally.

DataTables seems like an excellent plugin, checking to see if it can help with my particular challenge.

Thanks!

Replies

  • Braddo99Braddo99 Posts: 3Questions: 0Answers: 0
    Sorry i meant leftmost column.
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Do you mean something like this: http://datatables.net/release-datatables/extras/FixedColumns/row_grouping_height.html

    Allan
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Hmmm - rereading this:

    > The cells themselves should allow for scroll horizontally.

    then probably not. What you would need to do, is to have a DIV liner for your table cells and make them scrollable.

    Allan
  • Braddo99Braddo99 Posts: 3Questions: 0Answers: 0
    Wow Allan, that was quick...

    Your example is almost what I'm looking for - I would like to have lines going all the way across the table separating the rowspanned sections from one another.

    The goal is to not have scrollbars, but instead be able to touch the leftmost rowspanned column and scroll the table vertically, then touch the table contents to scroll horizontally.

    This is for use on a mobile device, and I'll be using jqueryMobile.
This discussion has been closed.