Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - pafcosta

Pages: [1]
1
Hi all,

I need to stop the propagation to the next cell during the save process in server side. Is it exists any option?


Thanks,
/Paulo

2
Help for ParamQuery Grid (free version) / Re: Cancel cell edition
« on: August 16, 2013, 01:20:06 pm »
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

3
Help for ParamQuery Grid (free version) / Cancel cell edition
« on: August 08, 2013, 12:45:00 am »
hi,

First my congratulations for your work. This plugin is very good.

I have one question related with cell edition. Some rows shouldn't be edited, if  a particulary a cell have a specific value.

This is possible?

Thanks,
/Paulo

Pages: [1]