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
75
Set checkbox value programatically
posted

I am trying to replace an existing datagrid with an Ultrawebgrid, but need to be able to check a checkbox from the server side.  I can't do it in Javascript as it relies on only checking specific rows.  I have tried setting the value of the cell to be true with a checkbox type column, but this does not seem to be doing anything.

 Has anyone done a similar thing and if so how did they manage to set the checkbox?

Kind regards,

 Simon

Parents
No Data
Reply
  • 420
    Verified Answer
    posted

    I did it in the _Initializerow Event like this

     

    e.Row.Cells.FromKey("1WeekAvgChk").Value = "false"

     

     I hope that helps.  Good luck!

Children