EasyUI Forum
April 26, 2024, 06:09:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: selectOnCheck not triggering onBeforeSelect in Datagrid  (Read 1006 times)
poeziafree
Jr. Member
**
Posts: 69


View Profile Email
« on: January 28, 2023, 12:25:06 AM »

Hello,

I have checkbox enabled in Datagrid.

I also have selectOnCheck: true.

Checking all checkboxes from the header doesn't trigger onBeforeSelect function individually for each row.

Is it a bug?

The idea is that for some rows, checkbox and selection functionality must be disabled.

Thanks
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: January 31, 2023, 07:09:35 AM »

This issue has been solved. Checking all rows or calling 'checkAll' method will trigger the 'onBeforeCheck' event. Make sure to update to the latest version.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!