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]
31
Help for ParamQuery Pro / nextEdit
« on: May 09, 2019, 03:24:32 pm »
hi
i am looking for a method to perfom nextEdit when the down-key  is pressed. onSave: nextEdit  works just in the same row.
Any hint?
Thank you

32
Help for ParamQuery Pro / isDirty not true after edit
« on: March 11, 2019, 11:15:57 pm »
hi
1. i took row-editing as example and adapted it to this script:
https://next.plnkr.co/edit/Hysibr1C6QgJCjaD?preview
i dont find out  why the row after editing is not considered as dirty.
(it never reaches the alert)

2. i would like to have each field of cht active record opend in editmode, so i can move the focus just by tab. No need to click on each field in the active row.
Any hint to achieve this behaviour?

Thank you in advance

33
Help for ParamQuery Pro / html code in data does not get renderd
« on: March 08, 2019, 08:22:41 pm »
hello
my data contains html code and want to have it rendered.
But PQGrid shows the sourcecode.
I modifiied example "row and cell styles", there it renders. (see attached printscreen)
https://next.plnkr.co/edit/Hysibr1C6QgJCjaD?preview

34
Help for ParamQuery Pro / Re: filter on all fields does not work
« on: February 27, 2019, 05:22:36 pm »
found it:
in the example filterRender function change
the first line to var val = val = ui.cellData?ui.cellData:"",
then it works as expected.

35
Help for ParamQuery Pro / another question on filter on all fields
« on: February 27, 2019, 02:13:31 pm »
hi
now i implemented search and it works but another question rises up:
I tried to filter on all fields with option "contain".
You may try it on plunker: https://next.plnkr.co/edit/JULYdSepNh1bA4KP?preview
Enter just an "a", filter returns all fields containng "a".
Try it with single charctes "d", "f", "g", no filterresult, despite the fact that there are plenty of fields containig these charactes.
If searching for "de", or "fe", result is correct.

36
Help for ParamQuery Pro / Re: filter on all fields does not work
« on: February 26, 2019, 09:42:34 pm »
it took me quite a while to realize, that filterModel: { mode: "OR" } was missing!
Maybe this should be default??
thank you

37
Help for ParamQuery Pro / Re: filter on all fields does not work
« on: February 25, 2019, 09:00:29 pm »

38
Help for ParamQuery Pro / Re: filter on all fields does not work
« on: February 25, 2019, 08:30:10 pm »
i tried to setup my example in plunkr, but it seems externally dataload is not allowed. So i changed it to json local data, but it is not showing up my data (like list is empty).
So i am stuck.
Please have a look into this.

39
Help for ParamQuery Pro / filter on all fields does not work
« on: February 22, 2019, 08:32:06 pm »
hi
i tried to implement the filtering of datagrid like the demo "local filtering" (copied all the stuff from the demo)
As long i choose a field, filter works. As soon i select "all fields" no rows get returned.
I tried to set up in fiddler, but it did not work (or i downt know how to do it) .
here is a link to a minified example of my project:
https://stockfritz.chpost.ch/?action=adressverwaltung


40
I really enjoy the possibility of testing in your site. The better the demo is , the sooner a visitor gets convinced of the quality of the product.
Let me succest a littel enhancement to the table-demo.
 

 $(function () {
        function changeToTable(that) {
            var tbl = $("table.fortune500");                       
            tbl.css("display", "");
            $("#grid_table").pqGrid("destroy");
            $(that).button("option", "label", "Change Table To Grid");
        }
        function changeToGrid(that) {
            var tbl = $("table.fortune500");           
            var obj = $.paramquery.tableToArray(tbl);
            var newObj = { width: 700, height: 400, title: "Grid From Table", flexWidth: true };
            newObj.dataModel = { data: obj.data };
            obj.colModel[3].dataType='float';
            newObj.colModel = obj.colModel;
            newObj.pageModel = { rPP: 20, type: "local" };
            $("#grid_table").pqGrid(newObj);
            $(that).button("option", "label", "Change Grid back to Table");
            tbl.css("display", "none");
        }
        //toggle removed from $ 1.9
        $("#pq-grid-table-btn").button().click(function () {
            if ($("#grid_table").hasClass('pq-grid')) {
                changeToTable(this);
            }
            else {
                changeToGrid(this);
            }
        });
    });

41
hi
playing around in the demos i encoutered following problem.
Open HTML-Table Demo, sort by column Profits and you will see.

73   Kroger                           60,552.9   958.0
58   Royal Bank of Scotland   71,164.3   9,997.8
64   E.ON                           66,313.2   9,203.7
13   ING Group                  138,235.3   8,958.9
42   Berkshire Hathaway   81,663.0   8,528.0

42
ParamQuery Pro Evaluation Support / demo for state save remotly
« on: January 11, 2019, 02:15:01 pm »
I would appreciate having a demo for this option,
or more general: could you provide more demo snippets?
To me, the demo framework itself is the best way to quickly understand the logic behind paramqery!

43
hi there
changeToGrid seems to omit thead sections, that means it allway takes the first tr of the tbody section as column header, which is not correct.

(i am testing paramquery, looks good until now)

Pages: 1 2 [3]