Git Product home page Git Product logo

Comments (6)

steveush avatar steveush commented on August 17, 2024

Hey surrealroad, could you paste a snippet of your table html so I can see your issue my side.

from footable.

surrealroad avatar surrealroad commented on August 17, 2024

here's an excerpt:

http://pastebin.com/1qF2zntd

from footable.

steveush avatar steveush commented on August 17, 2024

Hi surrealroad,

I've created a new branch called Colspan and have made the changes which I think handle the colspans correctly. However I am still testing and fixing any issues as I find them so any feedback is welcome.

There are a two new attributes available for use now, the first is data-names which will accept a comma separated list of names for use in the detail view, one per column wrapped by the colspan.

The sorting plugin was also updated to handle colspans. The second new attribute is used to control which of the columns wrapped by the colspan is used for sorting and is called data-sort-match. The value for this is the zero based index of the column within the colspan. So if you have 3 columns a value of 1 would always sort using the middle column (0, 1, 2) no matter where this group was located within the table.

The data-class attribute will now be applied to all columns in the colspan.

To see these changes working on a table based on your pastebin example take a look at issue21.htm in the root and let me know if you find any issues.

Thanks
Steve

from footable.

surrealroad avatar surrealroad commented on August 17, 2024

Thanks a lot Steve.

On Tue, Feb 5, 2013 at 8:18 PM, steveush [email protected] wrote:

Hi surrealroad,

I've created a new branch called Colspanhttps://github.com/bradvin/FooTable/tree/Colspanand have made the changes which I think handle the colspans correctly.
However I am still testing and fixing any issues as I find them so any
feedback is welcome.

There are a two new attributes available for use now, the first is *
data-names* which will accept a comma separated list of names for use in
the detail view, one per column wrapped by the colspan.

The sorting plugin was also updated to handle colspans. The second new
attribute is used to control which of the columns wrapped by the
colspan is used for sorting and is called data-sort-match. The value
for this is the zero based index of the column within the colspan. So if
you have 3 columns a value of 1 would always sort using the middle column
(0, 1, 2) no matter where this group was located within the table.

The data-class attribute will now be applied to all columns in the
colspan.

To see these changes working on a table based on your pastebin example
take a look at issue21.htm in the root and let me know if you find any
issues.

Thanks
Steve


Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-13149565.

Sign up for the Synaesthesia beta: http://synaesthesia.surrealroad.com/beta

www.surrealroad.com

from footable.

steveush avatar steveush commented on August 17, 2024

No problem, please take a look and let me know if you find any issues or have any suggestions. As it stands I think this will be moved across to the master if I can't find any problems while testing.

I would also just like to say sorry for the long delay for a response, I had some hardware issues and only got my new PC put together a few days ago.

Thanks
Steve

from footable.

steveush avatar steveush commented on August 17, 2024

Merged into master.

from footable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.