How to get Tr node by giving aData in DeferRender mode?

How to get Tr node by giving aData in DeferRender mode?

xsbearxsbear Posts: 3Questions: 0Answers: 0
edited February 2014 in General
Is there any relation between Tr node and aData when in DeferRender mode? It could get aData by fnGetPosition() and fnGetData() when giving Tr node, but how to get Tr node by giving aData? I mean in the DeferRender mode, the Tr nodes and aData are not always have same length and order.

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    Currently no - there is no reverse mapping from the data source object to the row. You would need to loop over the array returned by fnGetData and find the position of the row in that array, Then use fnGetNodes with that position (since the indexes match). You could, if you wanted, wrap that up into a plug-in.

    Allan
This discussion has been closed.