Disable specific row in Telerik grid (or) Disable row buttons (Edit & Delete) on grid

1 Answer 70 Views
Grid
Lakshmipathi
Top achievements
Rank 1
Iron
Lakshmipathi asked on 06 Jul 2021, 07:03 AM

Hi,

I wanted to disable the particular row in Telerik grid (or) disable the particular row buttons on grid.

Please help me out ASAP.

Thank you,

LakshmiPathi K

1 Answer, 1 is accepted

Sort by
0
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
answered on 06 Jul 2021, 11:14 AM

just style the css for the cmd-btn

code (example!):

<GridCommandButton  Command="Delete" Icon="delete" Class="cmdBtnNoClick">&nbsp;</GridCommandButton>

 

style:

.cmdBtnNoClick {

    pointer-events: none;
    cursor: not-allowed;
}

 depending on what you want, change the class for example to

.cmdAllowClick{

......

}


Tags
Grid
Asked by
Lakshmipathi
Top achievements
Rank 1
Iron
Answers by
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Share this question
or