how to update rows table automatic after consultation is reload table with new dice

how to update rows table automatic after consultation is reload table with new dice

akatsukiakatsuki Posts: 10Questions: 3Answers: 0
edited October 2022 in Free community support

follow this link as an example: https://codepen.io/bsngr/pen/WbLEvp

Dúvida:tenho uma tabela com ranking de tempo de montagem de pallet, mas a cada 30 segundos eu faço uma consulta no banco e atualizo a tabela ordernando pelo maio tampo gasto em tempo real, existe alguma forma de colocar um efeito na tabela mostrando a mudança de posição, quando alguém ultrapasse o tempo de outra pessoa.

Answers

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

    You don't appear to be using DataTables there, unless I'm missing it? For general Javascript questions you'd be best asking at StackOverflow.

    Allan

  • akatsukiakatsuki Posts: 10Questions: 3Answers: 0
    edited October 2022

    hello Allan. I am create dynamic datable in project. I need to put this animation on every position change in the table. can you help me?

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954

    I think animation like the example you posted would be difficult with Datatables. However you could highlight the changed rows using rowCallback. I would look at setting a changed flag in the server script. Then in rowCallback if the row has the changed flag set then highlight it.

    Kevin

Sign In or Register to comment.