sgentile
12-26-2008, 03:29 PM
Probably this is because I'm just used to jQuery :)
But I really like what the ExtJs controls can do. However, my request is more along the lines of :
appying a grid to a pre-existing table structure.
ie. Ruby on Rails or ASP.NET MVC (or asp...) :
<table id="sampleTable">
<thead>
<th>Name</th>
</thead>
<tbody>
<% foreach(item in items) {%>
<tr>
<td><%= item.Name%>
<tr>
<%}%>
</tbody>
</table>
With that already in place, is it possible to apply a grid to it ?
Ext.grid.GridPanel
...
table: sampleTable,
width:600,
height:300,
frame:true,
title:'Framed with Checkbox Selection and Horizontal Scrolling',
iconCls:'icon-grid'
Which would apply the table to my existing html data structure instead of writing it all in javascript ?
But I really like what the ExtJs controls can do. However, my request is more along the lines of :
appying a grid to a pre-existing table structure.
ie. Ruby on Rails or ASP.NET MVC (or asp...) :
<table id="sampleTable">
<thead>
<th>Name</th>
</thead>
<tbody>
<% foreach(item in items) {%>
<tr>
<td><%= item.Name%>
<tr>
<%}%>
</tbody>
</table>
With that already in place, is it possible to apply a grid to it ?
Ext.grid.GridPanel
...
table: sampleTable,
width:600,
height:300,
frame:true,
title:'Framed with Checkbox Selection and Horizontal Scrolling',
iconCls:'icon-grid'
Which would apply the table to my existing html data structure instead of writing it all in javascript ?