I have a grid place in a form, and when i select a row and click submit, the row info isn’t passed to the server. I’ve been looking at dhtmlxgrid_form.js (which I found separately on this forum as it wasn’t included in the free version), and I can see where it is failing:
On line 183, it calls createFormInputRow w/ each selected row:
this.createFormInputRow(this.selectedRows[i]);
But, in createFormInputRow, the value passed through is undefined, which I discovered by putting an alert® inside the for loop.
Here’s the html i’m using for the grid and surrounding page:
<?xml version="1.0" encoding="iso-8859-1"?> SMARTS Device Tools <!--/* <![CDATA[ */h1 {
font-family:verdana;
}
textarea, input {
font-family: Arial;
font-size:small
}
input.stdwidth, textarea.stdwidth {
width: 350px
}
body, table, tr, td {
vertical-align: middle;
font-family:verdana;
font-size: 0.9em;
}
select {
width:350px;
}
#srch_crit {
width: 700px;
margin-left: auto;
margin-right: auto;
padding: 0em;
}
#gridbox {
width:700px;
height:400px;
margin-left: auto;
margin-right: auto;
padding: 0em;
}
#srchActions {
width: 550px;
margin-left: auto;
margin-right: auto;
padding: 0em;
}
/* ]]> */–>
- SMARTS Device Search Criteria - | |
Classes: | Card FCSwitch FileServer Firewall Host Hub LoadBalancer MSFC Node Router RSFC RSM Switch TerminalServer UnitaryComputerSystem |
Name Search: | * |