Author Topic: Checkbox column Disabling issue.  (Read 3256 times)

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Checkbox column Disabling issue.
« on: March 13, 2015, 07:00:26 pm »
Hi Paramquery Team,
       In my grid i have one checkbox column. I need to disable that checkbox column. I have tried but i didn't get it. Please give your suggestion how to disable it. I have attached my screen shots also. Please have a look on it.

Thanks & Regards
Bsol Team

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Checkbox column Disabling issue.
« Reply #1 on: March 14, 2015, 01:10:54 am »
Please use beforeCheck event to disallow any change in checkbox state.

http://paramquery.com/pro/api#event-beforeCheck
« Last Edit: March 16, 2015, 08:38:50 pm by paramquery »

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Re: Checkbox column Disabling issue.
« Reply #2 on: April 08, 2015, 03:36:38 pm »
Hi,
   This event is not at all firing. Hence i cant able to disable single column in a grid.

$( "#grid_selection_checkbox" ).on( "pqgridbeforecheck", function( event, ui ) {
alert("hi");
} );

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Checkbox column Disabling issue.
« Reply #3 on: April 09, 2015, 02:14:35 pm »
Which version are you using. This event has been added since v2.3.0