Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
See the piece of code below - I tried to set the widths of the 2 'th' elements. But the table displays that the 2 'th' elements are identical in width. It means the style defined in each 'th' does not work. How can this be fixed? Thanks.
HTML
<table dojotype="dojox.grid.DataGrid" id="grid2" id="Table1" noDataMessage="No results found" style="height:250px; overflow:scroll;" selectionMode="none">
  <thead>
    <tr>
	<th field="OBJECTID" style="width:20px;" >Id</th>
        <th field="SITE" style="width:90px;" >Location Site</th>
    </tr>
  </thead>
</table>
Posted
Comments
[no name] 25-Nov-14 10:12am    
I case you like to modify a question you do not Need to repost. There is a button "Improve Question".

Better to delete the two ones you don't Need ;)
OriginalGriff 25-Nov-14 10:15am    
I just did...
[no name] 25-Nov-14 10:17am    
Maybe better you explain OP in proper english what I tried to explain :)
OriginalGriff 25-Nov-14 10:26am    
Ok - I'll try.
OriginalGriff 25-Nov-14 10:26am    
Please don't post a new question each time you want to add information: you annoy people and that means they maybe don't answer you at all.
Instead, use the "Improve question" widget to edit your question and provide better information.

I have deleted the "spare" versions, and left what looks the most complete.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900