How I can disable html-num-fmt

How I can disable html-num-fmt

luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

Hii everyone, I want to disable conditions on html-num-fmt.. for example in my code:

date: {
'null' : null,
'!null' : null,
'!between' : null,
},
This on top work! but, this not:

html-num-fmt: {
'!between' : null,
'!null' : null,
'null' : null,
'!=' : null,
},

OBS: I set a column than contans R$ 50,00 (Value in BR) for columnDefs: [{type: "html-num-fmt", targets: 8 }, type html-num-fmt.. Is working! but, I want disable any conditions as example on top!

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Isn't this the same question as this one? If not, please update my example in that other thread to demonstrate the issue,

    Colin

  • luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

    Nop, is diferent..

    Example http://live.datatables.net/coribace/10/

    But, in my real code (data, num, string) work.. i can disable this three conditions..

    Note, the column get type automatic html-num-fmt and cannot disable any condiditons with type..

  • luaan2012luaan2012 Posts: 11Questions: 1Answers: 0

    this code on top I disable com this

    num: {
    '!between' : null,
    '!null' : null,
    'null' : null,
    '!=' : null,
    },

    exist something similar for this?

    html-num-fmt: {
    '!between' : null,
    '!null' : null,
    'null' : null,
    '!=' : null,
    },

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Yeah, that's behaving as expected here - see the "age" column. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.

    Cheers,

    Colin

Sign In or Register to comment.