HI
All of a sudden my detail window has no height.
See following code as per example. It did show height at some stage but now I don't know what has made it come out with no height?
var gridDetailModel = {
pageModel: { type: "local", rPP: 5, strRpp: "" },
dataModel: {
location: "local",
sorting: "local"
},
colModel: [
{ title: "Job No.", width: 80, dataIndx: "jobNumber", editable: false },
{ title: "Truck No.", width: 40, dataType: "string", dataIndx: "drivercode", align: "center", editable: false },
{ title: "Truck Name", width: 100, dataType: "string", dataIndx: "driverName", align: "center", editable: false },
{ title: "Company Name", width: 150, dataType: "string", dataIndx: "companyName", align: "left", editable: false },
{ title: "Address", width: 120, dataType: "string", dataIndx: "address", align: "left", editable: false},
{ title: "Suburb", width: 150, dataType: "string", dataIndx: "suburbcode", align: "center", editable: false },
{ title: "Type", width: 80, dataType: "string", dataIndx: "typeid", align: "center", editable: false },
{ title: "Comments", width: 150, dataType: "string", dataIndx: "description", align: "left", editable: false },
{ title: "Date Ready", width: 80, dataType: "date", dataIndx: "readyDate", align: "center", editable: false },
{ title: "Time Ready", width: 80, dataType: "string", dataIndx: "readyTime", align: "center", editable: false },
{ title: "Time CloseOff", width: 80, dataType: "string", dataIndx: "closeTime", align: "center", editable: false },
{ title: "Status", width: 80, dataType: "string", dataIndx: "status", align: "center", editable: false },
{ title: "<font color='Red'><b>*MUSTDO</b></font>", width: 40, dataType: "string", dataIndx: "mustdo", align: "center", editable: false }
],
flexHeight: true,
resizable: true,
sortable: false,
editable: false,
width: "auto",
//height: 150,
Also question:
If you have to do some further editing based on JSON after Javascript validations (once you click Update button), how can you leave the row in Update mode after any alerts about any other validations that took place on the database (web service).
If I click the Update it return the error but I don't know how to leave the Update button on in that row which has the problem?