Hi all,
I already get a solution.
var currencyEditor = function (ui) {
debugger
var $cell = ui.$cell, data = ui.data, rowIndx = ui.rowIndxPage, colIndx = ui.colIndx;
//this is the collumn that store if the row is editable or not
if (data[rowIndx][1] == 0)
{
var dc = $.trim(data[rowIndx][colIndx]);
$cell.css('padding', '0');
var $inp = $("<input type='text' style='padding:2px;border:0;vertical-align:bottom;text-align: right;width:79px;'/>")
.appendTo($cell).autoNumeric( {aSep: ',', mDec: '2'}).val(dc); //.focus();
}
else
{
$("#grid").pqGrid("quitEditMode");
alert('No editable!!');
}
}
I hope this helps the community!
BR,
/Paulo