Display grid to the right of a multi-select?
Hi,
I have just finished writing an HTML reports system. It's heavily script-based.
The user selects a report from a drop-down menu at the top, and the filters available for that report appear in the multi-select down the left-hand side of the screen. The user selects their filters, clicks the preview button, and then the report is displayed in a textarea to the right of the multi-select. They can then choose to print what's displayed in the textarea if they want.
The thing that I'm not happy with is that when the user clicks preview, the data in the textarea looks pretty boring (i.e. plain, monospaced font on a white background, with whitespace as column separator). I think that this is where ActiveWidgets could help me, but I can't figure out how to have the multi-select menu on the left with the report to the right of it. The ActiveWidgets grid always appears below the multi-select, not to the side.
Can anybody point me in the right direction? I have to admit that HTML coding isn't one of my strong points, so any help would be appreciated.
Here's some HTML to give you a basic idea of what it looks like at the moment (dimensions hard coded because I've removed all of the script and style tags - multi-select menu and textarea should appear side-by-side). Basically, I want to replace the textarea with a nice ActiveWidgets grid:
P.S. Anybody else keep finding themselves typing "ActiveMidgets" by mistake? ;-)
I have just finished writing an HTML reports system. It's heavily script-based.
The user selects a report from a drop-down menu at the top, and the filters available for that report appear in the multi-select down the left-hand side of the screen. The user selects their filters, clicks the preview button, and then the report is displayed in a textarea to the right of the multi-select. They can then choose to print what's displayed in the textarea if they want.
The thing that I'm not happy with is that when the user clicks preview, the data in the textarea looks pretty boring (i.e. plain, monospaced font on a white background, with whitespace as column separator). I think that this is where ActiveWidgets could help me, but I can't figure out how to have the multi-select menu on the left with the report to the right of it. The ActiveWidgets grid always appears below the multi-select, not to the side.
Can anybody point me in the right direction? I have to admit that HTML coding isn't one of my strong points, so any help would be appreciated.
Here's some HTML to give you a basic idea of what it looks like at the moment (dimensions hard coded because I've removed all of the script and style tags - multi-select menu and textarea should appear side-by-side). Basically, I want to replace the textarea with a nice ActiveWidgets grid:
<head>
<title>Reports Example</title>
</head>
<body>
<b>Report drop-down:</b>
<select>
<option>Select report...</option>
<option>Report 1</option>
<option>Report 2</option>
</select>
<label><input type="checkbox" name="limit">Checkbox</label>
<p>
<select size="29" style="width:8%" multiple>
<option>Filter 1</option>
<option>Filter 2</option>
<option>Filter 3</option>
<option>Filter 4</option>
<option>Filter 5</option>
</select>
<textarea name="report" rows="28" cols="88" readonly="readonly" wrap="off">The report goes here</textarea>
<p align="center">
<input type="submit" value="Preview"></input>
<input type="submit" value="Print"></input>
<input type="submit" value="Close"></input>
</body>
</html>
P.S. Anybody else keep finding themselves typing "ActiveMidgets" by mistake? ;-)
John
January 20,