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
Did this issue get fixed.
I am using 10.3 and experiencing the exact same issue as above.
Hi xenon2008
This seems to be a valid solution for UltraWebGrid. But this thread deals with WebDataGrid!
RegardsSkippingAdi
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..
ok, thanks.
It is a bug then, please report it to developer support and mention this forums' link so that we can fix this issue.
http://ko.infragistics.com/gethelp