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 - paramvir

Pages: 1 ... 372 373 [374] 375 376 ... 427
5596
If the options in select list are static, you may fetch them from server during initialization/ creation of the grid and reuse them.

But if the options vary for different cells in the same column, you have to wait for the options to return from server by making synchronous ajax request.

async: false

5597
Help for ParamQuery Pro / Re: addrow calling editrow and update
« on: September 08, 2014, 08:15:27 pm »
I didn't find anything wrong with your code; also checked the online demo with 2.0.4

Could you please provide a jsfiddle or a test case to reproduce the issue.

5598
Help for ParamQuery Pro / Re: addrow calling editrow and update
« on: September 04, 2014, 06:39:51 pm »
Addition of blank row is as expected when clicked on add row button.

However if the update function is unnecessarily being called, put a break point in the beginning of update function and check the stack trace which would lead you to the calling function.

5599
Help for ParamQuery Grid (free version) / Re: Grid KO
« on: September 03, 2014, 09:39:31 pm »
Try to use pqgrid.dev.js version and debug your code.

5600
The solution is the same for select as for textbox as replied to your previous question.

5601
Please add this in the columnTemplate or specific column.

editor: { style: 'z-index:10000;position:relative;' }

Example:
http://paramquery.com/pro/demos/fluid_popup

5603
Help for ParamQuery Grid (free version) / Re: local JSON help
« on: September 02, 2014, 06:40:11 pm »
Is it possible for you to create a jsfiddle http://jsfiddle.net/LAgZx/64/

5604
you can simply call the grid methods i.e., $( ".selector" ).pqGrid( 'methodName' ); from anywhere.

5605
The reason for your issue is difficult to tell by looking at your code. No you don't need to do any refresh of rPP

Put a breakpoint in getData callback and see when the method is called and what is the argument value i.e., dataJSON.

5607
ParamQuery Pro Evaluation Support / Re: Set default value for select list
« on: September 02, 2014, 04:52:00 pm »
Please refer the API

http://paramquery.com/pro/api#option-column-editor

Data for select editor can be written as [ { "PU": "PICKUP" }, ... ]

"PU" can be shown by default in the select list by either making it first entry or made selected option in the editor.init callback

5609
1) If you store data for auto complete in a x variable, it could be assigned to autocomplete by source property.

Code: [Select]
var autoCompleteEditor = function (ui) {
        var $inp = ui.$cell.find("input");
        //initialize the editor
        $inp.autocomplete({
            source: x,
            selectItem: { on: true }, //custom option
            highlightText: { on: true }, //custom option
            minLength: 0
        }).focus(function () {
            //open the autocomplete upon focus               
            $(this).autocomplete("search", "");
        });
    }

2) Row can be refreshed / updated with the following methods:

http://paramquery.com/pro/api#method-refreshRow
http://paramquery.com/pro/api#method-updateRow

5610
Help for ParamQuery Pro / MOVED: Groupmodel cannot select last row
« on: September 01, 2014, 10:52:00 pm »

Pages: 1 ... 372 373 [374] 375 376 ... 427