Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
igGrid - unexpected selection withcustom background column color
posted

I'm having some issues with unexpected behaviour of igSelection when using css to over-ride the td of a column when multipleSelection is true.

See this example (also attached)

To demonstrate the unexpected behaviour, start to drag-select in the middle of any of the cells in columns Country or Size.  The drag-select acts as expected.  

Now drag-select starting from the middle of the cell in population or expire date, and the grid fails to multi select.  

However, if you start the drag select from a border in either population or expire date, the multi select works. 

How would I get the multi selection to work normally for the columns with the customized background-color?

Thanks

igGrid_selection_cols.zip
Parents
  • 260
    Offline posted

    I managed to figure out a workaround:

    Since the <div> is the thing that is blocking the drag select,

    Changing the column template from:

    <div class='greenCell'>${ExpireDate}</div>

    to

    <span class='greenCell'></span>${ExpireDate}

    allows the multi selection to work as expected.

Reply Children
No Data