how to handle '&' in the id of row

i just asked a question about having ‘&’ in the data of a grid and it works now for me,

but i have another issue that i have ‘&’ in my row’s id

can we do <![CDATA[ ]] > to the <row id=<![CDATA[ #rowid#]] > ?

thanks very much for your help.

CDATA can be used only for cell content, it will not work for attributes.
If you really need to have & in ID attributes, you can escape them

<row id=“a&b” // => will be treated as a&b