Forum Post: RE: Newbie" scrip code in gridcontrol to set the value of a checkbox column

  • Thread starter Thread starter n.zuure
  • Start date Start date
Status
Not open for further replies.
N

n.zuure

Guest
i think i fixed your problem. i created a method in javascript in the page called rbf_notify(a, b) (see below) in the oncreate of the grid i've added this: rbf_notify(##, @@); //function a = the gridnumber, b the gridrow function rbf_notify(a, b) { /*unique name of the box is based on the integration name with the gridnumber and row*/ var integrationname = "testbox1"; // creating the name. var name = integrationname + "_" + a + "_" + b; // getting all the elements with the name ... (unique = 1) var tmp = document.getElementsByName(name); // setting the value to true; tmp[0].checked = true; }

Continue reading...
 
Status
Not open for further replies.
Back
Top