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

Pages: [1]
1
about the bug of deleteRow

repair row 3398:

c.rowIndx = a ? f + l : f

2
ParamQuery Pro Evaluation Support / Re: listener columnDrag complete
« on: January 27, 2021, 01:18:13 pm »
I can get and save my new column order by listener [columnOrder], it's perfect!

3
Issue with API wr.t. paging is caused when rowIndx / rowIndxPage are used incorrectly.

Please read about rowIndx and rowIndxPage here: https://paramquery.com/pro/tutorial#topic-special-vars

thank you, i will earnest to read

4
ParamQuery Pro Evaluation Support / listener columnDrag complete
« on: January 27, 2021, 12:57:08 pm »
my boss want to save custom config ,like hidden column,change column order,

it has a event : columnDrag,but it's listener drar start ....

how can i listener event of drag complete?

thank you very much!

5
excuse me,

i find a bug of the method [deleteRow];

like this config:
dataModel: { location: "remote"},
pageModel{ type: "remote"},

when i delete one row in page2 or more(page > 1) by method [deleteRow],

it's can not delete correct row of 2times or more,

this my code:

let sel_row = $pqgrid.SelectRow();
let selectArray = sel_row.getSelection();
let _rowIndex = selectArray[0].rowIndx;
$pqgrid.deleteRow({ rowIndx: _rowIndex });

remark: console.log(selectArray); data is correct;

i watch this demo,has same problem
https://paramquery.com/pro/demos/editing_remote_page

6
When selectionModel.type = 'cell' it turns on Range selections which work similar to a spreadsheet.

And for that there is different API.

https://paramquery.com/pro/api#method-Selection

i have another idea: getRowsByClass; can i?

7
When selectionModel.type = 'cell' it turns on Range selections which work similar to a spreadsheet.

And for that there is different API.

https://paramquery.com/pro/api#method-Selection

oh,thank you, at the same time, i have tryed,

$pqgrid.Selection().getSelection();

it's return array of all selected cells, i can get rowData in it ,thank you~~

8
ParamQuery Pro Evaluation Support / about selectionModel and SelectRow
« on: January 21, 2021, 09:04:32 am »
excuse me,
when i set: 
selectionModel: { type: 'cell', row: true }
it's can selected row by number cell,

but, i want to get my SelectRow from this:
let sel = $pqgrid.SelectRow();
let selectArray = sel.getSelection();

it's hasn't any data, selectArray = []???

how can i get SelectRow?

thank you vary much

9
ParamQuery Pro Evaluation Support / Re: how can i get pq_curpage?
« on: December 30, 2020, 12:47:21 pm »
hey~~~~,I got it :

getUrl: function (res) {
    currentPage = res.pageModel.curPage;
    return {
        url: "/api/userinfo",
        data: {
            cp: currentPage
        }
    }
}

10
Suggest new features / freezeRows and freezeCols
« on: December 30, 2020, 08:58:45 am »
pqgrid can Frozen rows and Frozen columns, is wonderful;

now i want to Frozen columns by the column name,

for example :

Frozen the column "userName",

how can i do for this?

thank you~

11
ParamQuery Pro Evaluation Support / how can i get pq_curpage?
« on: December 30, 2020, 06:50:24 am »
excuse me,

I use pageModel of remote

my API must POST argument “currentPage” for pager,how can i set the “currentPage”  = pq_curpage ?

thank you~

12
Suggest new features / treeModel how to show the node line?
« on: December 29, 2020, 02:23:33 pm »
like this :

O---
   |
  O---
   |
  O---

Pages: [1]