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
akatsuki
Posts: 10Questions: 3Answers: 0
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
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
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?
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 inrowCallback
if the row has the changed flag set then highlight it.Kevin