Currently rendered column’s name in render
Currently rendered column’s name in render
![aruseni](https://secure.gravatar.com/avatar/01d06a7d680e36397f62670582c35669/?default=https%3A%2F%2Fvanillicon.com%2F01d06a7d680e36397f62670582c35669_200.png&rating=g&size=120)
Hi guys!
Do I understand correctly that the currently rendered column’s name (by name I mean the “data” property) is no longer available in the render function?
Previously it was possible to obtain it with o.mDataProp (useful if the same rendering function is used for multiple columns and it required to check which column is being rendered). Now I can get the index (meta.col), but not the name.
Using index is certainly a way to address this issue, but it’s much less convenient as it requires some extra code to maintain the correct comparison of indexes (as some columns can get added/removed depending on a number of conditions).