click, maybe the js will help :
/* Generated on 02/04/13 12:08:56 PM by FoxInCloud version 1.265 -- *// (function(){var oGrid = $('dtcadd_scx-grid_1');Object.extend(oGrid, {oGrid: new AW.UI.Grid, oTable: new AW.XML.Table}); oGrid.oGrid.defineControlProperty('DataUpdate', false); var oTable = oGrid.oTable; with (oGrid.oGrid){ /* -- Grid_1 (Grid) -- *// setSelectorWidth(10); getSelectorTemplate().setStyle('font-weight','bold'); setRowCount(0); setSelectionMode('single-cell'); setStyle('background-color','#FFFFFF'); setColumnCount(2); setControlDisabled(false); setStyle('font-family','Courier New'); setStyle('font-size','9pt'); setStyle('color','#000000'); setHeaderHeight(19); setSize(undefined,288); setSelectorVisible(false); setRowHeight(23); setScrollBars('both'); setSize(276,undefined); setColumnIndices([0,1]); with (getCellTemplate()){ setStyle('cursor','inherit'); }/* -- Column1 (Column) -- *// setColumnResizable(true,0); setColumnWidth(149+1,0);/* -- Header1 (Header) -- *// setHeaderText('Timetype',0); with (getHeaderTemplate(0)){ setStyle('text-align','left'); setStyle('background-color','#F0F0F0'); setStyle('font-size','9pt'); setClass('text','normal'); }/* -- Text1 (Textbox) -- *// setCellEditable(true,0); with (getCellTemplate(0)){ setStyle('text-align','left'); setStyle('font-family','Arial'); }/* -- Column2 (Column) -- *// setColumnResizable(true,1); setColumnWidth(75+1,1);/* -- Header1 (Header) -- *// setHeaderText('Timeqty',1); with (getHeaderTemplate(1)){ setStyle('text-align','left'); setStyle('background-color','#F0F0F0'); setStyle('font-size','9pt'); setClass('text','normal'); }/* -- Text1 (Textbox) -- *// var fmt = new AW.Formats.Number; fmt.setTextFormat('###'); setCellFormat(fmt, 1); setCellEditable(true,1); with (getCellTemplate(1)){ setStyle('text-align','right'); setStyle('font-family','Arial'); } setCellModel(oTable); setVirtualMode(false); with(oTable){ setURL("Temp/dtcadd_scx-grid_1.xml"); setAsync(false); request(); } } oGrid.oGrid.setCellModel(oGrid.oTable); oGrid.update(oGrid.oGrid); oGrid = oGrid.oGrid; with (oGrid) { /* Events *// defineRowProperty('Clicked', false); oGrid.onRowMouseDown = function(event, row){this.setRowClicked(true, row)}; oGrid.onRowMouseUp = function(event, row){this.setRowClicked(false, row)}; oGrid.onCurrentRowChanged = function(row){ var value = this.getRowProperty('tuRow', row);if (!(this.disabled || value === null)){if (!this.getRowClicked(row) && FoxInCloud.gridRowChangeDelay > 0){if (this.nTO) window.clearTimeout(this.nTO);this.nTO = FoxInCloud.gridMethod.bind(FoxInCloud).delay(FoxInCloud.gridRowChangeDelay, 'wAfterRowChange', $('dtcadd_scx-grid_1'), value); }else FoxInCloud.gridMethod('wAfterRowChange', $('dtcadd_scx-grid_1'), value); }this.setRowClicked(false, row); }; oGrid.onCellValidating = function(text, col, row){ var result; col = parseInt(col, 10); switch (col){case 0: result = FoxInCloud.gridEditEvent('blur', $('dtcadd_scx-grid_1'), text, 'dtcadd_scx-grid_1-column1-text1', true); break;case 1: result = FoxInCloud.gridEditEvent('blur', $('dtcadd_scx-grid_1'), text, 'dtcadd_scx-grid_1-column2-text1', true); break; } var cols = this.getColumnCount(), rows = this.getRowCount(), done = false; col++;while (row < rows && !done) {if (this.getCellEditable(col,row)) {this.setSelectedColumns([col]);this.setSelectedRows([row]);this.setCurrentColumn(col);this.setCurrentRow(row); done = true; }else { col++;if (col >= cols){ col = 0; row++; } } }return result; }; oGrid.onCellEditStarting = function(text, col, row){ var result; col = parseInt(col, 10);switch (col){case 0: result = FoxInCloud.gridEvent('focus', $('dtcadd_scx-grid_1'), text, 'dtcadd_scx-grid_1-column1-text1', true); break; }return result; }; oGrid.onKeyBackspace = function(event){ event = Event.extend(event);if (!event.findElement('input')){this.startCellEdit(''); event.stop(); } };oGrid.defineRowProperty('tuRow', null); var srp = oGrid.setRowProperty.bind(oGrid); srp = null; oGrid.disabled = true; oGrid.setSelectedRows([-1]); oGrid.setSelectedRows([-1]); oGrid.setCurrentRow(-1); oGrid.disabled = false; }})(); $('dtcadd_scx-textbox_output1').readOnly=true; FoxInCloud.documentInit('dtcadd_scx');/* -- / Generated on 02/04/13 12:08:56 PM by FoxInCloud version 1.265 *//