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
415
Conditional Edit and Delete button on each row
posted

I want to show the buttons for Edit and Delete based on records. based on column data, some row will have both Edit and Delete button while others can have only Edit or Delete button. I want to control these buttons when grid is rendered so user dont see any button which is not applicable.

Please guid me how to achieve this feature in igGrid and what event I should call?

  • 23953
    Offline posted

    Hello Sarojanand,

    You can achieve this by using unbound columns which will hold the buttons. Buttons will be rendered in the grid using the formatter function of the column.

    Attached you can find sample which demonstrates your scenario.

    Best regards,
    Martin Pavlov
    Infragistics, Inc. 

    igGridUpdating_custom_buttons.zip