Hi,
I´m developing a webdatagrid with 2 bounddatafield. The header of webdatagrid is
<ig:WebDataGrid EnableAjax="True" ID="wdgDocumentos" runat="server" AutoGenerateColumns
="False"
DataSourceID="odsPDocumentoS2R" Height="100%" Width="100%" StyleSetName
="Claymation"
OnRowUpdating="wdgDocumentos_RowUpdating"
OnRowUpdated="wdgDocumentos_RowUpdated" OnRowsDeleting
="wdgDocumentos_RowsDeleting"
OnInitializeRow="wdgDocumentos_InitializeRow"
ondatabound
="wdgDocumentos_DataBound">
The datafield property return dynamic html code.
Example:
<div style='width:100%;height:100%;'><img src='imagenes/firmar_ok.png' height='21px' /></div>
When grid is loaded at first time the html code is rendered ok but when the data is changed and saved via webDataGrid.get_behaviors().get_editingCore().commit(); the html not is rendered. I have tried many things and nothing works.
After first load
After modify value of Código
I already test "htmlencode = true". Do you know another similar solution?
Thanks a lot
Regards
It is a bug then, please report it to developer support and mention this forums' link so that we can fix this issue.
http://es.infragistics.com/gethelp
ok, thanks.
Try to use
rowObj.getCell(Index).setValue("<img src="../Images/check.jpg">);
then
rowObj.getCell(Index).Element.innerHTML = '<img src="../Images/check.jpg">';
or you can work only with
if it just for viusal need..
Hi xenon2008
This seems to be a valid solution for UltraWebGrid. But this thread deals with WebDataGrid!
RegardsSkippingAdi