Author Topic: Checkbox does not work  (Read 48 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.