how to show and hide a row using action button in tabledata

how to show and hide a row using action button in tabledata

akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0
edited May 2022 in Free community support

pleas give me salutation how to show and hide row using {{id}} button in tabledata php

This question has accepted answers - jump to:

Answers

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

    You can't hide/show rows, that only applies for columns (column().visible()) - but you can add and remove them with row.add() and row().remove(),

    Colin

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0
    edited May 2022

    Ok sir
    Sir can you give me some code for add remove.
    its delete row permanently (in my DB) or temporally (only from browser)

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0

    I want like that

  • allanallan Posts: 63,448Questions: 1Answers: 10,465 Site admin
    Answer ✓

    Something like this example?

    Allan

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0

    yes I want like this example
    but with show and hide button my two button already works but 3rd button show and hide not work. I want code for show and hide button.

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

    You could do that with CSS - have the button add a class to the row which fades the row, something like this

    .notMatched td{opacity:0.2}
    

    SearchFade is doing something similar, so you can use that as a template,

    Colin

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0

    Ok Thanks sir It's work!

Sign In or Register to comment.