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


32
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);
            }
        });
    });

33
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

34
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!

35
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]