Skip to Content
Oct 31, 2017 at 10:46 AM

How do I give custom ids to table cells?

81 Views Last edit Nov 01, 2017 at 09:42 AM 2 rev

How do I give custom id's to sap.ui.table cells? The default id's are of form - XX--YY-rows-row0-col8. I need to customize that to something else. Is there a way to do that?

I actually use sap.m.Text to show data in the cells. I need some additional data (hidden) for processing which is associated with each cell/text field. So I was thinking to pass the hidden info through the id.

If there's any other way to do so, that would be fine.