Author Topic: Checkbox does not work  (Read 1770 times)

hellokert

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 15
  • Hellokert
    • View Profile
Checkbox does not work
« on: March 25, 2021, 06:13:42 pm »
Hi,

I am using ParamQuery Pro v4.0.3. Unfortunately, based on the example found, the checkbox in the grid could not work either.

I used this example (https://paramquery.com/pro/demos/checkbox_id):

                { dataIndx: "state", maxWidth: 30, minWidth: 30, align: "center", resizable: false,
                    title: "",
                    menuIcon: false,
                    type: 'checkBoxSelection', cls: 'ui-state-default', sortable: false, editor: false,
                    dataType: 'bool',
                    cb: {
                        all: false, //checkbox selection in the header affect current page only.
                        header: true //show checkbox in header.
                    }
                },

'State' also gets a value.
                                ugyfel.ELO as elo,
                                ARAJANLATBOL as arajanlatbol,
                                false as state,
                                'false' as disabled
                            from ugyfel

The checkbox does not appear in the header and those in the cells are not checked when clicked.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Checkbox does not work
« Reply #1 on: April 11, 2021, 04:52:16 pm »
Please refer to examples for v4: https://paramquery.com/pro/demos40