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

Pages: [1] 2 3
1
Bug Report / Re: Scrolling will cause the details to disappear.
« on: July 25, 2018, 10:59:12 am »
Thank you for your good work.

2
Since we changed the specification, this correspondence becomes unnecessary.

So please ignore this reply.

Thank you.

3
I want to display / hide the ID with the checkbox on the toolbar, but is there any other good method?

Code: [Select]
    protected tbBtnViewId = {
        type: "checkbox", label: "View ID", value: false,
        listener: { "change": (evt) => {
            let cols = this.grid.Columns();
            cols.each((column) => {
                if ("title" in column && column.title === "ID") {
                    column.hidden = !evt.target.checked;
                }
            });
            this.grid.refresh();
        }},
    };

4
Ver. 5.1.0

If there is no collapsible -> not displayed
Code: [Select]
        {
            title: "Group A", align: "center", colModel: [
                { title: "ID", dataIndx: "railway_company_id", hidden: true, editable: false, dataType: "integer", minWidth: 60, align: "center" },
                { title: "name *", dataIndx: "railway_company_name", dataType: "string", minWidth: 160 },
                { title: "order *", dataIndx: "railway_company_display_order", dataType: "integer", align: "center", minWidth: 60, maxWidth: 60 },
                { title: "visible *", dataIndx: "railway_company_visible_flag", dataType: "bool", minWidth: 64, align: "center", editor: false },
            ],
        },


If there is collapsible -> it will be displayed
Code: [Select]
        {
            title: "Group A", align: "center", collapsible: { on: false }, colModel: [
                { title: "ID", dataIndx: "railway_company_id", hidden: true, editable: false, dataType: "integer", minWidth: 60, align: "center" },
                { title: "name *", dataIndx: "railway_company_name", dataType: "string", minWidth: 160 },
                { title: "order *", dataIndx: "railway_company_display_order", dataType: "integer", align: "center", minWidth: 60, maxWidth: 60 },
                { title: "visible *", dataIndx: "railway_company_visible_flag", dataType: "bool", minWidth: 64, align: "center", editor: false },
            ],
        },

5
Bug Report / pqgrid.d.ts > Method group has no "option"
« on: May 07, 2018, 11:51:40 am »
ver.5.1.0 pqgrid.d.ts

Code: [Select]
        interface instance{

            :

            Group(params?: any):{
                addGroup(datIndx: numberorstring, indx?: number)
                collapse(level?: number)
                collapseAll(level?: number)
                collapseTo(address: string)
                expand(level?: number)
                expandAll(level?: number)
                expandTo(address: string)
                removeGroup(datIndx: numberorstring)
            }
            groupOption(obj: any)

TypeScript failed with "Group (). Option" at first.

Therefore, when examining pqgird.d.ts
There was "groupOption", but it could not be used.

When "option" was added to "Group", it could be used without problems.

I do not know which is the correct answer, but please give me correspondence.

Rework
Code: [Select]
        interface instance{

            :

            Group(params?: any):{
                addGroup(datIndx: numberorstring, indx?: number)
                collapse(level?: number)
                collapseAll(level?: number)
                collapseTo(address: string)
                expand(level?: number)
                expandAll(level?: number)
                expandTo(address: string)
                removeGroup(datIndx: numberorstring)
                option(obj: any)
            }
            groupOption(obj: any)

6
 :)

7
When adding a line with tree () of treemodel, I want to use addNodes, but unlike the addRow method, a set of id is necessary.

I want to register even without an id, but is there any way?

document sample.
Code: [Select]
    tree.addNodes( [
        { id: 100, name: "abc", ... },
        ...
    ], tree.getNode(1) );


wanting.
Code: [Select]
    tree.addNodes( [
        { name: "abc", ... },
        ...
    ], tree.getNode(1) );

Or you can add it to node with addRow.

8
Bug Report / Re: Scrolling will cause the details to disappear.
« on: April 09, 2018, 05:20:32 pm »
Thank you for your response.

There is a release in May, so it will be very helpful if it is resolved so far!

9
Bug Report / Re: Scrolling will cause the details to disappear.
« on: April 09, 2018, 08:01:33 am »
The phenomenon of the attached image has not been solved!

Please tell me about investigation and correspondence.

10
ver.5.1.0

pqgrid.d.ts
Code: [Select]
            scrollCell(obj: { colIndx?: number, dataIndx?: numberorstring, rowIndxPage: number, rowIndx: number }, fn: () => void )

            scrollColumn(obj: { colIndx?: number, dataIndx?: numberorstring }, fn: () => void )

            scrollRow(obj: { rowIndxPage: number, rowIndx: number }, fn: () => void )

"?" Is required for scroll related callback.
Code: [Select]
            scrollCell(obj: { colIndx?: number, dataIndx?: numberorstring, rowIndxPage: number, rowIndx: number }, fn?: () => void )

            scrollColumn(obj: { colIndx?: number, dataIndx?: numberorstring }, fn?: () => void )

            scrollRow(obj: { rowIndxPage: number, rowIndx: number }, fn?: () => void )


11
Thank you very much.
I did it.

12
By clicking on "ui-icon-arrow-4-diag" in detail
Please tell me how to hide this icon only because the screen becomes pure white and it is not displayed.

Code: [Select]
<div class="pq-slider-icon pq-no-capture">
  <span class="ui-widget-header pq-ui-button">
    <span class="ui-icon ui-icon-arrow-4-diag"></span>
  </span>
</div>

13
Bug Report / Re: Scrolling will cause the details to disappear.
« on: April 03, 2018, 07:19:16 am »
thank you for your answer.

Although it is surely resized, the problem that disappears has not been resolved as the attached image and it was not solved.

It does not disappear by scrolling with grasping the knob (thumb).
Clicking the scroll bar other than the knob disappears.

14
Bug Report / Scrolling will cause the details to disappear.
« on: April 02, 2018, 09:10:40 am »
We reviewed the options with reference to the demo below, but we can not identify the cause.
https://paramquery.com/pro/demos/nesting

* Attached file reference.

Please tell me if you have any hints.

Ver. 5.1.0.

15
Bug Report / Bug report. Screen freezes with right arrow key
« on: March 22, 2018, 12:42:48 pm »
If the last item of colmodel is hidden
Screen freezes with right arrow key.

success.
Code: [Select]
$(function() {
  var colm = [
    { title: "name", dataIndx: "name", dataType: "string", minWidth: 160 },
    { title: "updated at", dataIndx: "updated_at", editable: false, minWidth: 140, maxWidth: 140, align: "center" },
  ]; 
  var data = [
    { "name": "abc---A", "updated_at": "2017/03/01" },
    { "name": "abb---A", "updated_at": "2017/03/02" },
    { "name": "ccc---A", "updated_at": "2017/03/03", "deleted_at": "2017/03/03" },
    { "name": "cbc---A", "updated_at": "2017/03/04" },
    { "name": "aba---A", "updated_at": "2017/03/05" },
    { "name": "ccb---A", "updated_at": "2017/03/06" },
  ];
  var settings = {
    colModel: colm,
    dataModel: { data: data },
  };
  $("#grid_json").pqGrid(settings);
});

error.
Code: [Select]
$(function() {
  var colm = [
    { title: "name", dataIndx: "name", dataType: "string", minWidth: 160 },
    { title: "updated at", dataIndx: "updated_at", editable: false, minWidth: 140, maxWidth: 140, align: "center" },
    { title: "deleted at", dataIndx: "deleted_at", hidden: true },        // <- Add only this line.
  ]; 
  var data = [
    { "name": "abc---A", "updated_at": "2017/03/01" },
    { "name": "abb---A", "updated_at": "2017/03/02" },
    { "name": "ccc---A", "updated_at": "2017/03/03", "deleted_at": "2017/03/03" },
    { "name": "cbc---A", "updated_at": "2017/03/04" },
    { "name": "aba---A", "updated_at": "2017/03/05" },
    { "name": "ccb---A", "updated_at": "2017/03/06" },
  ];
  var settings = {
    colModel: colm,
    dataModel: { data: data },
  };
  $("#grid_json").pqGrid(settings);
});

This error does not occur in ver.3.4.0,
It occurs in ver.4.x.x or higher.

Pages: [1] 2 3