Possible to Lock Rows and Prevent Them From Being Filtered?

Possible to Lock Rows and Prevent Them From Being Filtered?

roammobilityroammobility Posts: 1Questions: 0Answers: 0
edited December 2009 in General
Is it possible to only apply filtering to specific rows, and to prevent other rows from being filtered?

Thanks!

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi roammobility,

    The basic answer is no - the filtering is applied to all rows.

    The complex answer is, yes this can be done, but you will need to implement a custom filter: http://datatables.net/development/filtering . It would be fairly simple to have your filter identify which rows you have 'locked' and not filter then out, but then apply the regular filtering to all other rows.

    Regards,
    Allan
This discussion has been closed.