Advertisement

08.09.2006 at 12:27PM PDT, ID: 21948949
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

Coldfusion (cfgrid) grid multiple update/insert with dropdown (combo) boxes - a bit technical, and definitely worth 500 pts

Asked by vitoasaro in ColdFusion Application Server, ColdFusion Studio

Tags: , ,

I'm using Coldfusion MX 7, and I've seen that ColdFusion can now bind many form elements to a CFgrid.

Can someone please tell me how to do the following:

I need to build a grid with data from a SQL query which will consist of 3-4 columns. Each column should consist of a drop-down box (single select combo box, not multi), populated with all the useable values, one of which will be selected based on the data from the query (a stored procedure will provide this data).

I also need to be able to dynamically add multiple rows to the grid with combo boxes.  In other words, if the user clicks "add row," I want to increase the grid by another row without doing a submit and refresh to the grid, therefore, I'd like to be able to add more than a single row, then process all of the rows at once when a "submit" is finally requested.

I also need to be able to delete any checked rows (bind a checkbox in a column) to a piece of data, and not have the grid update/refresh each time a row is deleted; again, it needs to wait until final processing.

So, when the user finally clicks "update" or "process" or whatever we call it, the subsequent page will go through all of the rows on the grid, and simply recreate the record with all the new edits, leaving out anything that was selected for deletion, and including all of the new rows (with their combo box values) which had been added to the bottom of the grid.

I know this may sound a bit complicated, especially with binding the different form types into the grid (combo box, check box) which why I've given this 500 points.  I'm in a bit of a hurry and need to get this going within two weeks.  Thanks!



Start Free Trial
 
 
Loading Advertisement...
 
[+][-]08.10.2006 at 06:31AM PDT, ID: 17287447

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.10.2006 at 09:25AM PDT, ID: 17289080

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.11.2006 at 07:23AM PDT, ID: 17296319

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.11.2006 at 07:46AM PDT, ID: 17296527

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, ColdFusion Studio
Tags: cfgrid, coldfusion, update
Sign Up Now!
Solution Provided By: gdemaria
Participating Experts: 1
Solution Grade: B
 
 
[+][-]08.14.2006 at 09:19PM PDT, ID: 17315515

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.14.2006 at 09:48PM PDT, ID: 17315610

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.16.2006 at 06:27PM PDT, ID: 17536884

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44