In Dojo 1.3 I was able to populate dojox.grid.DataGrid's cell with an <a href>
HTML element (e.g. <a href='/test?id=xxx'>xxx</a>
) and the (clickable) html link would then be shown. Dojo 1.4 breaks(?) this behaviour and the literal string is shown (not a link).Dojo 1.4 - <a href> in dojox.grid.DataGrid's cell behaves differently from Dojo 1.3's
How can I achieve the same behaviour in Dojo 1.4?
Je viens de le trouver en regardant un autre problème, vous devriez éviter cela si vous le pouvez et utilisez à la place une cellule 'formatter' pour annuler l'effacement du code. Cela vous aidera à vous assurer que vous n'êtes pas vulnérable aux attaques XSS dans des champs non intentionnels. – Kitson