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
8920
igGrid disable / hide check box in a column for particular row
posted

Attached running project with two grids ( igGridDuo.html ) . Please show how to disable check box for the row in the top grid with value ProductNumber == 'BE-2908' and how to hide check box in the bottom grid for the row with the same Product Number BE-2908 Thanks.

GridDuo.rar
Parents
No Data
Reply
  • 7375
    Offline posted

    Hello mcseidel,

    Thank you for proving sample application.

    To hide the checkboxes only for particular ‘ProductNumber’ for both the grid, you can use the rowRendered event. This event fired after data rows are rendered.

    You can use rows method to get all rows, get the cell using cellById and then use the below syntax to hide that checkbox.

    $currentRow.find('.ui-icon.ui-icon-check.ui-igcheckbox-small-on').parent().parent().hide();

    I have modified your sample application for your reference.

    Please find the attached sample and let me know if you need further assistance.

    GridDuo.zip
Children