Can DataTables do this? - NikeStore

Can DataTables do this? - NikeStore

spyderfusion02spyderfusion02 Posts: 4Questions: 0Answers: 0
edited January 2010 in General
Hello, I am wondering if I can use DataTables to create a similar system to that of the NikeStore.

http://store.nike.com/index.jsp?sitesrc=USLP&country=US&lang_locale=en_US#l=shop,pwp,c-1+100701/hf-10002+12002/t-Men%27s_Clothing

I want to display items and have separate buttons for sorting above the table, like 'featured', 'newest', 'rating', etc. Also, I want to have filtering button options that will filter the table when selected exactly like NikeStore.

Can I accomplish this with DataTables fairly easily?

Thanks.

Replies

  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    Hi spyderfusion02,

    Not really - that is an individual cell based grid (i.e. each cell is independent of the other cells in the row and column that they share). DataTables is very much row based - so it's not easy to make this work. For example if I were to apply a filter which knocked out only the top right most cell, all the other cells would need to move row and column. It's certainly possible to make it do this - but it's not optimal. A simple float:left grid would probably work better than using an HTML table.

    Regards,
    Allan
This discussion has been closed.