VitaminP
VitaminP

Reputation:

refresh single cell in yui datatable

I am using a yui datatable to show tabular data with certain fields that update in real timee. All examples I've seen require that the entire table be re-drawn even if only one column of data has been changed. Obviously this causes problems with both client-side sorting and scrolling and adversely affects UI performance as well. Is there any way to have a datable render ONLY the cells for which data was updated?

Upvotes: 0

Views: 2519

Answers (1)

Nate
Nate

Reputation: 19030

Use the DataTable.updateCell method.

Upvotes: 1

Related Questions