function ClientC1GridView1_BeforeCellEdit(sender, args) {
if (args.cell.column().dataField == "MyName1") {
$("<input />")
.width("100%")
.appendTo(args.cell.container().empty())
.wijgrid({
columns: [
{ headerText: "A1", dataType: "number", sortDirection: "ascending", dataFormatString: "n0" },
{ headerText: "A1", dataType: "string" },
{ headerText: "A1", dataType: "number", dataFormatString: "n0" },
{ headerText: "A1", dataType: "number", dataFormatString: "p0" }
],
data: [[0, "a", 1, 1], [1, "b", 2, 2]]
});
args.handled = true;
}
} |
|