Hi there!
Somehow the InitializeRowHandler is never invoked. Is there a known bug or any workaround to solve that issue?
Code
<ClientSideEvents InitializeRowHandler="fnInitializeRow" />
function fnInitializeRow(gridName, rowId) {
alert('fnInitializeRow called.');var row = igtbl_getRowById(rowId);var posId = row.getCellFromKey('PositionID').getValue();alert('fnInitializeRow::posId = ' + posId);UpdateCalculatedGridValues(row.Id, posId);
}
Kind regs,Dan
Hello Dan,
As I can see you are referring the client side event.
This event is fired after a new row is added to the collection. No event is fired during data binding as the binding process is carried out on the server side.
Please refer to the online documentation :
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=Infragistics4.WebUI.UltraWebGrid.v10.3~Infragistics.WebUI.UltraWebGrid.ClientSideEvents~InitializeRowHandler.html
http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=WebGrid_Client_Side_Events_CSOM.html
If you want to fire the event every time I recommend you to use the server side event.
Let us know if you need further assistance regarding this.
Tsvetelina, thank you for the explanation.