Jeff
|
| Posted: 07/08/2005, 6:38 AM |
|
Hello,
I have been using the trial version the last couple of days and am about to hit the purchase button as it has been a great help with the ASP projects I have trying to do with VS 2003 and 2005 Beta2.
One issue I am having is that I created a search form that populates a datagrid. The user is able to click on the record id field which displays the individual record in edit mode and everything works. My situation is that I would like the user to be able to see two checkboxes back when the list of records are displayed that would be lableled found, not found. It is an inventory program and for the most part they won't need to edit the data too much, just click whether the tool was found or not found. I am trying to avoid having them have to click each record id hyperlink, just to get to those checkboxes and then have to submit to go to the next record and so on... Is that possible to include that functionality back at the entire list section of the page without the individual edit page having to be invoked?
Thanks in advance
Jeff
|
|
|
 |
wkempees
|
| Posted: 07/08/2005, 8:25 AM |
|
Sounds likeyou need and editable grid (see help) in stead of a 'normal'grid.
You would of course have (for every row in the table) a field checked
Yes/No or two fields either check_yes and check_no (taken from yr
description.
User would than be presented with a grid consisting of all items in your
mentioned grid plus the two checkboxes, user would then be able to do 20
or so checkboxes (depending on size of your grid) and submit.
Stuff to read: Tips/Solution Nicole's explanation of editable grid field
for bells and whistles and in general Help file.
Greetz
Walter
|
|
|
 |
jswalker4
Posts: 8
|
| Posted: 07/08/2005, 10:37 AM |
|
Walter,
Thanks very much! As you can tell, I'm new to CCS but so far, in three days I have been able to do more with this product than VS2005 and about 3 or 4 classes given here at work. The classes seemed to be at such a high level that when you got back to your desk you really couldn't do anything that would be considered real world apps. (none of my bosses yet have asked me for a Hello World program or how to change the background color of a textbox) 
Jeff
|
 |
 |
jswalker4
Posts: 8
|
| Posted: 07/08/2005, 1:14 PM |
|
I now have the editable grid working and my checkboxes as well. Thanks Walter!
One other question... The search form at the top is functioning properly but the list grid below it pulls all of the records the first time. I would like that to only appear after a choice was made above and the user presses Search after choosing the address.
I must be missing something in the settings?
Jeff
|
 |
 |
Nicole
Posts: 586
|
| Posted: 07/09/2005, 6:04 AM |
|
Jeff,
You can hide editable grid form settings its Visible property to false. CCS have must contain an example or suggestion regarding it.
_________________
Regards,
Nicole |
 |
 |
wkempees
|
| Posted: 07/09/2005, 7:50 AM |
|
Nicole is (asalways) right.
Scan the forum for 'hiding grid'
Another approach is to have the Grids'select fail by setting the default
value, in the query builder (..) to something that will never result
in a row.
Then after search criteria is filled and submitted you fire a real SQL
and the Grid will show result.
Hiding you can do in BeforeShow(Source)
$yourpagename->yourGridname->Visible=false [PhP]
BTW: I nearly reponded to your initial message describing what a (great)
product CCS is but constrained myself, from your response I get a happy
feeling, and I'm not even connected to the developers (IWISH).
greetz,
Walter
|
|
|
 |
|