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

Pages: 1 2 [3] 4 5 6
31
Help for ParamQuery Pro / Expand or overlay the Grid
« on: November 07, 2014, 02:05:48 am »
Hi,

is there a way to have a button in grid and when clicked on it it can expand the grid(like an overlay) ?

ex: Maximize and Minimize the Grid


32
Hi,

i wrote the same thing - but the issues is - when you click save though this cell is non-editable - focus will be on this cell until you enter soemthing

validations:[ { type:function(ui)
             {
                 var grid = $(this).pqGrid('getInstance').grid;
                 if (grid.isEditableCell({ rowIndx: rowIndx, dataIndx: ui.column.dataIndx }) == true)
                 {
                     if (ui.value == null || ui.value == "")
                     {
                         ui.icon == 'ui-icon-info';
                         ui.msg = "Required";
                         return false;
                     }
                     else
                     {
                         return true;
                     }
                 }
                 else
                 {
                     return true;
                 }
             }
             }],

33
Help for ParamQuery Pro / Re: Redo issue and New row issues
« on: October 16, 2014, 02:05:10 am »
the problem was i am refreshing the row in change event too : $(this).pqGrid('refreshRow', { rowIndx: ui.rowIndx });
commented that out and it is working as expected

34
Help for ParamQuery Pro / Redo issue and New row issues
« on: October 16, 2014, 12:06:37 am »
Please take a look at the fiddle :

http://jsfiddle.net/rgorantla/Ljd57c1k/1/

Try adding few rows and do undo - until you have no rows

Now click on redo - you will receive an error "Cannot read property '0' of undefined "

Something when you click on add new row.

Can you help me on what am i doing wrong?


35
Help for ParamQuery Pro / Re: Read only cells - Pasting issue
« on: October 15, 2014, 07:12:45 pm »
To Solve this , i made cells editable by default.

36
Help for ParamQuery Pro / Re: Saving
« on: October 15, 2014, 07:08:34 pm »
not really - just click save and drop downs are appearing for me.

When i made editable : true by default - these are resolved too ...


37
Hi,

Resolved all other issues i was having before - only 1 requirement -

If i change funding value to SI - admin fees columns become editable - I am trying to write a validation call back to make basic admin fee and total admin fee as required when the cell is editable ... I am not able to accomplish this ... Can you help me with an example on how to do this please?


Also, if you can tell me if there is any way to add tootltip like we add class

Ex:  $grid.pqGrid("addClass", { rowIndx: rowIndx, dataIndx: dataIndx, cls: 'yellow' });

Thanks much !

38
Help for ParamQuery Pro / Re: Rendering Cells
« on: October 15, 2014, 06:44:06 pm »
never mind -Took another apporach ... Thanks

39
Help for ParamQuery Pro / Read only cells - Pasting issue
« on: October 15, 2014, 02:25:26 am »
Hi,

Read only cells are working fine when you edit in grid - but when you are trying to copy and paste - values are not pasting though the dependency condition is true ...


40
Help for ParamQuery Pro / Re: Saving
« on: October 14, 2014, 09:38:09 pm »
please see attached image (adminfeecolumns)-

I have similar dropdowns for other columns too (otherdropdowns image) ... when you click save , though these feileds ar enot required still focus is on those dropdowns

41
Help for ParamQuery Pro / Re: Rendering Cells
« on: October 14, 2014, 09:34:44 pm »
I am trying to get the propery of newRow not the value ... May be i am missing something...

As you have seen in jsfiddle , i need the exact cell name inorder to call wither of the functions not the value of the call , like below ... Can you help me how to get this implemented in change event?

if (!($.inArray(ui.dataIndx, ratesarray) == -1)) {
            ratevalidations(ui);
        }
        if (!($.inArray(ui.dataIndx, contributionsarray) == -1)) {
            contributionvalidations(ui);
        }

42
Help for ParamQuery Pro / Re: IMP - Tabbing
« on: October 14, 2014, 09:27:07 pm »
Thanks you

43
Help for ParamQuery Pro / Re: Saving
« on: October 14, 2014, 01:19:02 am »
 you can check this on :

Admin fees (columns)

http://jsfiddle.net/rgorantla/Ljd57c1k/1/

44
Help for ParamQuery Pro / Re: Rendering Cells
« on: October 14, 2014, 12:55:15 am »
but i need dataindx - and if the dataindex is one of those - call the functions.

http://jsfiddle.net/rgorantla/Ljd57c1k/1/


45
Help for ParamQuery Pro / Re: Rendering Cells
« on: October 13, 2014, 11:40:30 pm »
Still the same :
I tried all possible events


    obj.change = function (evt, ui) {
        var ratesarray = ["rateeeonly", "rateeeplusoneonly", "rateeeplus2", "rateeepluschildren", "rateeeplusspouse", "rateeefamily"];
        var contributionsarray = ["contreeonly", "contreeplusoneonly", "contreeplus2", "contreepluschildre", "contreeplusspouse", "contreefamily"]
        if (!($.inArray(ui.dataIndx, ratesarray) == -1)) {
            ratevalidations(ui);
        }
        if (!($.inArray(ui.dataIndx, contributionsarray) == -1)) {
            contributionvalidations(ui);
        }


    };

Pages: 1 2 [3] 4 5 6