Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Problem with Columns' size in Grid

$
0
0
Re: Problem with Columns' size in Grid
FoxInCloud
Re: Problem with Columns' size in Grid
Dec. 21, 2012
07:06 am
3O80F8CHIShow this entire thread in new window
/* Generated on 21/12/2012 15:48:56 by FoxInCloud version 1.26 -- *// $('contatti_scx-_commandbutton_close1').wuValue = true; (function(){var oGrid = $('contatti_scx-grid1'); 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){/* -- Grid1 (Grid) -- *// setSelectorWidth(10); getSelectorTemplate().setStyle('font-weight','bold'); setRowCount(0); setSelectionMode('single-row'); setStyle('background-color','HTMLColor(m.luProp)'); setColumnCount(4); setControlDisabled(false); setStyle('font-family','Trebuchet MS'); setStyle('font-size','16pt'); setStyle('color','#000000'); setHeaderHeight(30); setSize(undefined,417); setSelectorVisible(true); setRowHeight(36); setScrollBars('vertical'); setColumnIndices([0,1,2,3]); with (getCellTemplate()){ setStyle('cursor','inherit'); } setCellModel(oTable); setVirtualMode(false); with(oTable){ setURL("Temp/contatti_scx-grid1.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', $('contatti_scx-grid1'), value); }else FoxInCloud.gridMethod('wAfterRowChange', $('contatti_scx-grid1'), value); }this.setRowClicked(false, row); }; oGrid.onKeyBackspace = function(event){ Event.extend(event).stop(); };oGrid.defineRowProperty('tuRow', null); oGrid.disabled = true; oGrid.setSelectedRows([-1]); oGrid.setSelectedRows([-1]); oGrid.setCurrentRow(-1); oGrid.disabled = false; }})(); FoxInCloud.documentInit('contatti_scx');/* -- / Generated on 21/12/2012 15:48:56 by FoxInCloud version 1.26 *//


in your site, <yourForm>.js file


????


We don't experience the same problem
please post your form's javascript


After installation of the patch for font issue, now when i run the app in web mode the size of my columns have not the correct width.....
All columns are more litlle then what i have defined in the form....and they have all the same size.

The font is correct.






Viewing all articles
Browse latest Browse all 10393

Trending Articles