abc.setClass("disabled", function() {
if (this.$1 != null) {
if (this.$owner.getCellText(15, this.$1) != "null") {
return "control";
}
}
return "";
});
abc.setEvent("onclick", function(event){
if (this.$1 != null) {
if (this.$owner.getCellText(15, this.$1) == "null") {
var value = this.getControlProperty("value");
alert('1check box checked'+value);
this.setControlProperty("value", !value);
alert('2check box checked'+this.getControlProperty("value"));
}
}
});
}
obj.setCellImage(checkboxImage,3);
obj.setCellTemplate(new MyCheckbox,3);
3) My third question is i have some images in one of my column, i want to make the image as link and i want to call my own javascript method when i click on the image?
4) How to restrict the user to expand the column width in specific columns, for example 3rd column.