Author Topic: Capture the click event on a group caption in a grid  (Read 2626 times)

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
Capture the click event on a group caption in a grid
« on: June 17, 2015, 10:56:07 am »
Can I capture the click event on a group caption in a grid? or added a hyperlink to the caption so that I can click the caption to popup a new window.

In addition, can I add some buttons or checkbox on the group level?

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
Re: Capture the click event on a group caption in a grid
« Reply #1 on: June 23, 2015, 07:17:49 pm »
groupIndx = ["ShipCountry", "ContactName"],
            colM = [
            { title: "ShipCountry", width: 120, dataIndx: "ShipCountry",
                filter: {
                    type: 'select',
                    prepend: { '': 'All Countries' },                   
                    valueIndx: 'ShipCountry',
                    labelIndx: 'ShipCountry',
                    condition: 'equal',
                    listeners: ['change']
                }
            }



I mean to click the caption of "ShipCountry". Can I control it?