Description here : docs.dhtmlx.com/doku.php?id=dhtm … foreupdate .
Added in mine source :
myDp.attachEvent( "onBeforeUpdate", function( id, status, data )
{
if ( status == "deleted" )
return true;
else
{
var index = data.getColIndexById( "prek_grupe" );
var value = this.data.cells( id, this.index );
if ( !iras_valid( value ) )
return false;
}
return true;
});
“data” - undefined . So I’m getting error . How true it must be ?
With best regards !