Hi,
Ive used DHTMLX before in MVC and it works great, I’m so grateful to have these tools.
But now its a Grid that will replace the built in Gridview in asp.net VB webforms. The grid will need a textbox at the top of each column to filter with, and a way to add a new row at the bottom.
Matching up the data Im trying to solve, sorry for the formatting
<asp:GridView ID=“GridView1” runat=“server” AllowPaging=“True”
AllowSorting=“True” OnSorting
=“GridView1_Sorting”
CurrentSortField=“” AllowCustomPaging=“True” CellPadding=“4”
ForeColor=“#333333” GridLines=“None”>
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:CommandField />
</Columns>` ETC...
and then a manual grid frame is defined:
<br />
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 875pt">
<colgroup>
<col style="mso-width-source: userset; mso-width-alt: 10678;" />
<col style="mso-width-source: userset; mso-width-alt: 10057;" />
<col style="width:48pt" width="64" />
</colgroup>
<tr height="20">
<td class="auto-style3" height="20">Field</td>
<td class="auto-style2">Search/Filter</td>
<td class="auto-style1">Select One</td>
</tr>
and 15 more <tr>'s are defined for all of the columns. On the code side, just a standard Page Load query to
SQL to pull in the data, it displays fine. I created a manual sorting method that works, but DHTMLX has
everything in a nicer looking package
protected Sub Page_Load(ByVal sender........)
GridView1.DataSource = myTable
GridView1.DataBind()
ViewState("tables") = myTable
End Sub
So the page connects to a SQL connection, ends up with myTable then does the bind and it displays just fine
But how can the DHTMLX grid be put in there instead?
Thanks!