Search the word 'class'

Search the word 'class'

chenbenezrachenbenezra Posts: 8Questions: 0Answers: 0
edited January 2014 in General
hi,
i try to search the word class in search bar but it's not fillter the table.
other search working of course

thank you,
chen

Replies

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    http://www.datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
  • chenbenezrachenbenezra Posts: 8Questions: 0Answers: 0
    http://live.datatables.net/EPEk/1/edit

    this is the link for the example:
    i have two rows in the table
    i searched for "class" word because i want display only the second row
    but it does not filter well.
    if i search "Some Name" it displays only the first row and filters well.

    thanks again.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    It isn't being detected as HTML because there is no data in the table on the initial pass, so it is picking up the `class=""` in your HTML. Seeing sType fixes it: http://live.datatables.net/EPEk/2/edit .

    I will look at fixing it in DataTables core.

    Allan
  • chenbenezrachenbenezra Posts: 8Questions: 0Answers: 0
    ok thanks,
    do you know if you are supposed to release a version with that fix?

    it's not working with 1.9.4 version so i resovled with that way:

    [code] "aoColumnDefs": [
    { "bSearchable": false, "aTargets": [ 0, 10 ] }
    ]
    [/code]

    thanks again.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Your test case is using 1.10-dev so its not fixed there (I thought it would be I must confess). I will try to look at this before the beta is released.

    Allan
This discussion has been closed.