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

Pages: [1] 2 3
Help for ParamQuery Pro / Re: contextmenu on tab
« on: June 09, 2021, 03:35:39 pm »
thats what i am using. It delivers correct ui in cells, ui with -1 in rownumbers, but in the top left corner of the grid no ui is delivered.

Help for ParamQuery Pro / Re: contextmenu on tab
« on: June 08, 2021, 03:08:04 pm »
i am experimenting with contextmenu on grid: rightclick on the top-left grid corner does not deliver ui parameter. I would expect to have a grid-context ui there.

Help for ParamQuery Pro / Re: contextmenu on tab
« on: June 08, 2021, 02:32:17 pm »
thank you for your reply.
I cannot find "the home page 2nd demo of spreadsheet", your link leads just to the main page.

Help for ParamQuery Pro / Re: contextmenu on tab
« on: June 07, 2021, 08:45:15 pm »
I would like to add a contextmenu similar to on contextMenu.headItems right on the tab.

Help for ParamQuery Pro / contextmenu on tab
« on: June 04, 2021, 03:53:15 pm »
hi Paramvir
i am trying to implement a context-Menu on Tab. I think, this is not basicly implemented (could not find in the API-Doc), but maybe you can give me a hint how to create it.

Help for ParamQuery Pro / Re: contextmenu listener is action
« on: December 18, 2019, 02:49:31 pm »
i did, but your example code from api-doc is the snippet, i used in my post.

Help for ParamQuery Pro / contextmenu listener is action
« on: December 17, 2019, 04:09:16 pm »
tried to implement pq-contextmenu following the api docu.
from api:>>  $( selector ).pqGrid( { contextMenu: {on: true, items: [{
            name: 'Undo',
            listener: function(evt, ui, item){
        },        ...    ]} } );
didnt work, then i mistrusted the naming "listener". Changed to "action", then it works.

Help for ParamQuery Pro / cellClick event
« on: December 17, 2019, 03:08:29 pm »
i tried to establish a cellClick eventhandler but no success at first.
Played with the Demos, here my results:
   $(function () {
        var data = [
            { rank: 1, company: 'Exxon Mobil', revenues: 339938.0, profits: 36130.0 },
            { rank: 2, company: 'Wal-Mart Stores', revenues: 315654.0, profits: 11231.0 },
            { rank: 19, company: 'Crédit Agricole', revenues: 110764.6, profits: 7434.3 },
            { rank: 20, company: 'American Intl. Group', revenues: 108905.0, profits: 10477.0 }

        var obj = {
            width: "80%",
            height: 400,
            resizable: true,
            title: "Grid From JSON",
            showBottom: false,
            scrollModel: { autoFit: true },
            dataModel: { data: data }
   //,cellClick:function(event,ui){console.log(ui)}  //works
   $("#grid_json").pqGrid("option",{cellClick:function( event, ui ) {console.log(ui)} }) //works
   //$("#grid_json").on( "pqGrid:cellClick", function( event, ui ) {console.log(ui)} ); //does not work

Help for ParamQuery Pro / Need hint in pivot
« on: November 30, 2019, 06:49:04 pm »
i try to setup a pivot table. I startet with a copy of you democode and adapted my data structure. Somewhere i have a mistake, but i cannot find it.
I always land in an error <Cannot read property "grouChange" of undefined.>

here you can find my testscript:

I would like to have very basic pivot example with static Data; this would make it easyer to start from scratch.
Thank you

Great work!!!

Help for ParamQuery Pro / fillhandle
« on: August 22, 2019, 08:16:09 pm »
i would like enable fillhandle  just  on certain columns, not globally.
Can you give me an example?

Thank you

Help for ParamQuery Pro / Re: i need a hint
« on: July 10, 2019, 10:22:47 pm »
after experimenting several hours this snippet does the trick:
    editorKeyDown:function(e,ui){if(e.currentTarget.value=='' && e.keyCode==13){
                                                    var id=ui.$td[0].id.split('-');
tried it with events editorEnd and cellBevoreSave, value got allways cleared.

Help for ParamQuery Pro / Re: i need a hint
« on: July 09, 2019, 01:43:23 pm »
i change slightly the goal to achieve.
When the user leaves a empty field with Enter Key, then it should fill in the value from the direct neighbour (down) record.

this snippet performs well, but then it clears the injected value on blur
                                                    var id=ui.\$td[0].id.split('-');

how can i save the injected value?

Help for ParamQuery Pro / i need a hint
« on: July 05, 2019, 10:54:44 pm »
i want to have a picklist that contains all different entrys in current column. I manged it by this snippet.
autocomplete ... source: function (grid,ui){               
                    var ret = []
                    var data=grid.getData({dataIndx:[ui.dataIndx]})
                    return (ret)}
So far, so good.
Now i am stuck with this:
when i leave the field, i should complete with the first matching value found in the list, without the need to choose by key or mousclick.
Example; i enter  a , the list contains Armada, Bravo, Mountain then it should autocomplete with Armada on leaving the field.
Maybe you can provide me a hint.

Help for ParamQuery Pro / Re: nextEdit misplaces input
« on: July 05, 2019, 10:45:04 pm »
i checked for js errors in console, none found. Behaviour was different in Chrome and Firefox. I removed onSave:nextEdit, its ok that way.

Help for ParamQuery Pro / nextEdit misplaces input
« on: May 31, 2019, 11:18:00 pm »
hi Paramvir
 i encounter following problem when i activate next Edit like

after modifying a field the next field gets misplaced in the upper left corner of the grid, without changing values the next field remains at the right place.

Pages: [1] 2 3