problem adding width:50, in ListGrid.create

when I add width:50, in {name:“status”, canFilter:false}, i the whole page dont display, below is my code:

isc.ListGrid.create({
    ID:"itemList",
    dataSource:"supplyItemSales",
    alternateRecordStyles:true,
    fields:[
        {name:"status", canFilter:false},
        {name:"attachment", canFilter:false},
        {name:"pom", canFilter:false},
        {name:"rfqRef"},
        {name:"orderRef"},
        {name:"quoteRef"},
        {name:"subject"},
        {name:"date"},
        {name:"vessel"},
        {name:"buyer"}
    ],
    recordClick: "itemViewer.setContentsURL(record.myUrl)",
    canDragRecordsOut:true,
    canReorderRecords: true,
    showFilterEditor: true,
    useCellEvents:true,
    selectionType:"single",
    cellContextClick:"return itemListMenu.showContextMenu()"
    
});

Please see the Debugging topic to find out about tools you should have installed, and the information you should be providing any time you ask for help with a problem like this.

Exception: _6 has no properties File:…/isomorphic/ISC_Grids.js Line: 946 Col:0

hi ISOMORPHIC, i dont know where or why the ISC_Grids.js has no properties, below is the code:

isc.ListGrid.create({
    ID:"itemList",
    dataSource:"supplyItemSales",
	alternateRecordStyles:true,
    fields:[
        {name:"status", title:" ", icon:"NewOrder.png", align:"center", canFilter:false},
        {name:"attachment", title:" ", icon:"attach.png", align:"center", canFilter:false},
        {name:"pom", title:" ", icon:"shoppingcart_full.ico", align:"center", canFilter:false},
		{name:"rfqRef", title:"RFQs Ref"},
		{name:"orderRef", title:"Order Ref"},
		{name:"quoteRef", title:"Quote Ref"},
		{name:"subject", title:"Subject"},
		{name:"date", title:"Date"},
		{name:"vessel", title:"Vessel"},
		{name:"buyer", title:"Buyer"}
    ],
	recordClick: "itemViewer.setContentsURL(record.myUrl)",
    canDragRecordsOut:true,
	canReorderRecords: true,
	showFilterEditor: true,
    useCellEvents:true,
    selectionType:"single",
    cellContextClick:"return itemListMenu.showContextMenu()"

});

Again, please see the Debugging topic. You can obtain a stack trace for any JavaScript error you see, and you should obviously be reporting exactly when the error occurs.

If you don’t post information that would allow people to help you, then no one will help you, right?

Sorry, below is the complete error:

_6 is null
file:///E:/workspace/smartclientSDK/paul/js/ISC_Grids.js

Again - from the Debugging topic:

It’s really easy to gather the information that would make it possible to help you, just follow the instructions.

theres no javascript error when browsing IE7 but the browsers screen gets blank or empty white.

Exception: _6 has no properties File: file:///E:/workspace/smartclientSDK/paul/js/ISC_Grids.js Line: 946 Column: 0
---- this error I got from aptana

At this point it may be best to seek help from a colleague before posting again. We’ve made several attempts to get basic information but you still won’t tell us when this error occurs (page load? creation? click? right click? filtering? some other time?) and you’ve just said something odd about an error that occurs in an IDE but not a browser (SmartClient runs in a browser).

Any time you can provide the basic information about this problem, we can help - but again probably best to seek help from a colleague first.

heres the logs

19:37:36.533:INFO:Log:initialized
19:37:37.392:WARN:DynamicForm:editForm:unable to look up DataSource: supplyItem, databinding will not be used
19:37:37.392:WARN:TreeMenuButton:isc_PickTreeItem_33_button:unable to look up DataSource: supplyCategory, databinding will not be used
19:37:37.548:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.548:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.548:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.548:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.751:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.751:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.751:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.751:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:37.970:WARN:VLayout:myEditTabSet:Adding already drawn widget:editHeader to new parent:myEditTabSet. Child has been cleared so it can be drawn inside the new parent. This may be a result of autoDraw being enabled for the child.
19:37:38.001:WARN:VLayout:myEditTabSet:Adding already drawn widget:itemEditTabSet to new parent:myEditTabSet. Child has been cleared so it can be drawn inside the new parent. This may be a result of autoDraw being enabled for the child.
19:37:38.017:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.017:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.017:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.017:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.189:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.189:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.189:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.189:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.392:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.392:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.392:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:38.392:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.267:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.267:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.267:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.267:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.470:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.470:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.470:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.470:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.486:WARN:HLayout:pageLayout:Adding already drawn widget:leftSideLayout to new parent:pageLayout. Child has been cleared so it can be drawn inside the new parent. This may be a result of autoDraw being enabled for the child.
19:37:39.532:WARN:HLayout:pageLayout:Adding already drawn widget:rightSideLayout to new parent:pageLayout. Child has been cleared so it can be drawn inside the new parent. This may be a result of autoDraw being enabled for the child.
19:37:39.720:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.720:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.720:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:39.736:WARN:Element:Element.$yw passed bad parameters - returning 0
19:37:40.032:WARN:Log:Error:
‘‘null’ is null or not an object’
in http://localhost:8080/paul/index_100708.html
at line 948
ListGrid.getEditItemCellValue(_1=>Obj, _2=>0, _3=>4)
ListGrid.getCellValue(_1=>Obj, _2=>0, _3=>4, _4=>[GridBody ID:itemListfilterEditor_body])
[o]GridBody.getCellValue(record=>null, rowNum=>0, colNum=>4, gridBody=>[GridBody ID:itemListfilterEditor_body])
“if (this.fields[colNum]) colNum = this.fields[colNum].masterIndex;return this.grid.getCellValue(record,rowNum,colNum, gridBody)”
GridRenderer.$22k(_1=>null, _2=>0, _3=>4)
GridRenderer.getTableHTML(_1=>undef, _2=>undef, _3=>undef)
GridRenderer.getInnerHTML(undef)
Class.invokeSuper(_1=>null, _2=>“getInnerHTML”, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
Class.Super(_1=>“getInnerHTML”, _2=>Obj{length:1}, _3=>undef)
GridBody.getInnerHTML(undef)
Canvas.$px(_1=>undef)
Canvas.$p8(_1=>true)
Canvas.draw(_1=>undef, undef, undef, undef, undef, undef, undef, undef)
** recursed on Class.invokeSuper

19:37:40.048:INFO:Log:isc.Page is loaded
19:37:40.189:WARN:Scrollbar:itemViewer_vscroll:ignoring bad or negative height: -11 [enable ‘sizing’ log for stack trace]

Excellent.

Just correct the problems with autoDraw indicated by these logs (look up autoDraw in the reference if this is not clear), that should fix the problem.

Those errors about “$yw” might be harmless, however they may indicate that you are trying to draw components from the <head> of your document. If so, don’t do this, draw components only once the <body> tag has been opened (or draw after page load).

perfect Isomorphic!! this issue have been resolve