Forum Stats

  • 3,855,199 Users
  • 2,264,473 Discussions
  • 7,905,928 Comments

Discussions

oj-table multiple checkbox checked is not behaving as it should

Hi Folks,

Looks like bug in 8.2.0 version

If i add selection-mode='{"row": "multiple"}'Then checkbox listener will not invoke and multiple checkbox is not working but if hold ctrl and hover over the checkbox set then multiple checkbox checked is working. This is really strange bug and hard to find the cause and it might be regression.  

<template slot="checkTemplate" data-oj-as="cell">

     <oj-checkboxset 

             on-value-changed='[[checkboxListener]]'

             value='[[handleCheckbox(cell.key)]]'

              class='oj-checkboxset-no-chrome oj-selection-checkbox'

             :id="[['table_checkboxset' + cell.key]]"

             :data-row-key="{{cell.row.xyz}}"

             >

       <oj-option :id="[['table_checkbox' + cell.key]]" aria-label="[['Checkbox Select Row ' + cell.row.xyz]]" value="checked"></oj-option>

     </oj-checkboxset>  

   </template>

This will not trigger

 on-value-changed='[[checkboxListener]]'

If i remove selection-mode='{"row": "multiple"}' then multiple checkbox is working and on ctrl + hover is not working but I am pretty sure if i am not passing the row multiple then it should not select multiple checkbox. 

I am referring this link : https://www.oracle.com/webfolder/technetwork/jet-810/jetCookbook.html?component=table&demo=checkboxSelectableTable

Tagged:

Best Answer

Answers