myproxy
Posts: 23
|
| Posted: 02/10/2008, 10:02 PM |
|
I have a Grid on its own page which gets its search criteria from another page.
What I want to do is simply add a textbox under each field in the heading of a GRID so user can update boxes to reflect the new search criteria.
So obviously, adding a Record inside a Grid will not work so has anybody built such a scheme without resorting to a fully custom page. Tricks, tips...
Essentially, it comes down to a flow and usage of screen real estate to ease searching of data.
|
 |
 |
JayEdgar
Posts: 77
|
| Posted: 02/11/2008, 5:07 AM |
|
I'm not sure why you wouldn't want the use the standard search form at the top of the page. And if it's what you want...
Add a search form to the top of the page. To the <table> tag add style="visible: none;"
Add the textboxes you want where you want them. in the onblur event of each one, have it update the corresponding textbox in the now-hidden form (refer to document.forms(0).Fieldname.value="xxx").
I'll leave it to you to figure out how you want to submit. Probably a button somewhere that runs javascript that says document.forms(0).submit();
Good luck,
J
|
 |
 |
datadoit
|
| Posted: 02/11/2008, 5:54 AM |
|
Doable without any custom coding.
Create a table or panels with two rows. The top row drop in your search
form. The bottom row drop in your grid without any sorting (you'll lose
your sorting in this method).
For each of your search form listboxes, do a client onchange event to
submit the form.
|
|
|
 |
JayEdgar
Posts: 77
|
| Posted: 02/11/2008, 6:23 AM |
|
Interesting idea.
Jay
|
 |
 |
|