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
1510
how do deny delete on a **particular** row in UltraGrid?
posted

Hi,

How can I mark a certain row as "CannotBeDeleted" ?

I was looking for something like e.Row.AllowDelete = FALSE but nothing like that is available, as is in the override.AllowDelete in the Initilize_Layout ...

---> It **can** be edited though ... so the
e.Row.Cells["Closed"].Activation = Activation.XXXXX   will not do it for me

//Coloring the tasks correctly:

 

if ((bool)e.Row.Cells["MileStone"].Value == true)

{

e.Row.Appearance.BackColor =

Color.Chocolate;

e.Row.ToolTipText =

"Milestone Task";

e.Row.XXXX = ????

}