Anyone has try to use multiselect checkbox with bStateSave of datatable?

Anyone has try to use multiselect checkbox with bStateSave of datatable?

jlgasparrinijlgasparrini Posts: 5Questions: 1Answers: 0

I'm tring to use bStateSave, but I can't do it work! One of my ten inputs of th is a multiselect checkbox (https://github.com/benjamincanac/bootstrap-multiselect-rails). When I load data, the multiselect data is present, but the next input has an error value. If I comment the multiselect, the other inputs work well!

Answers

  • jlgasparrinijlgasparrini Posts: 5Questions: 1Answers: 0

    Any advice is appreciated! Thanks!!!

  • jlgasparrinijlgasparrini Posts: 5Questions: 1Answers: 0

    Please any help!!!!!!

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    In case that its for filtering of multiple values you can use my multi select filter that does support bStateSave

    take a look at filter for the first column:
    http://yadcf-showcase.appspot.com/DOM_source_chosen.html

  • jlgasparrinijlgasparrini Posts: 5Questions: 1Answers: 0
    edited July 2014

    I'm sorry for the delay in my reply.
    I see your library, that's cool!!! =)
    But my problem is not yet solved... I remove multiselect filter of my datatable and see the output of "console.debug(oSettings.aoPreSearchCols);"and the values are wrong. For example, I put this values in my inputs:

    "29/07/2014"
    "available"
    "house"
    "rental"
    "1000"
    "2000"
    "3000"
    "4000"
    "ARG"
    

    and the result of "console.debug(oSetting.aoPreSearchCols);" is wrong!

    "29/07/2014"
     "available"
     "house"
     "rental"
     ""
     "2000"
     "4000"
     "ARG"
     "" 
    

    Maybe I should report this as a bug? Thanks 'u daniel_r

This discussion has been closed.