"ultrawebgrid에 javascript 으로 Formula 계산을 지정하고 싶습니다."
I would like to arrange in ultrawebgrid the Programming of Javascript and also Formula Calcuation.
I'm Not want to C# code.
I want UltraWebGrid using to Javascript code ... Formula setting .. plz.
My source code here.
function UltraWebGrid1_AfterCellUpdateHandler(gridName, cellId){ //Add code to handle your event here. var grid = igtbl_getGridById(gridName); var row = igtbl_getActiveRow(gridName); var ba_ulimit = row.getCell(3).getValue(); //ba_ulimit ba_ulimit = ba_ulimit * 5; var cell = row.getCell(9); //test column! cell.setValue( ba_ulimit ); }
help me plz.. ^^;
Since I don't understand what your question is:
I see an infinite loop in your future. If memory serves, the AfterCellUpdate would probably fire after you set the value, so it would come back in and do the same calculation over and over. You might want to add an if to see if the cell that was updated was in column 3 first.