C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Tips » Web Development »

Dynamically add or delete a row when inputting data


Posted Date: 25 Oct 2009    Resource Type: Tips    Category: Web Development
Author: freezeaMember Level: Silver    
Rating: 1 out of 5Points: 3



Background
When inputting data, users often need to add, delete and insert rows dynamically. Moreover, the newly added rows should automatically generate the same properties with existing rows. Such as edit style, auto computation and validation.
It’s not easy to achieve these functions with common reporting tools. Especially for group report and subdivision input report, it’s more complex. Because users should be able to select a report region, and insert, delete or add rows in the selected region.

Difficulties
To achieve these functions by programming, there are a lot of difficulties.
1. It’s required to keep a record of each addition, modification, and deletion.
2. It’s needed to write complex javascript to achieve dynamic addition and deletion.
3. For group report and subdivision input report, the report region selected for addition and deletion needs to be identified intelligently.
4. Users have to take many details into consideration. For example, when adding a row, properties like edit style, auto computation, validation need to be dynamically parsed to the newly added row. For these properties often relate to the data of current row, it will be of great difficulty. Moreover, as some automatic computations are global, their expressions need to be dynamically parsed according to the data of all rows. The summation function sum () is an example.
5. The new row may have some default properties like dynamic sequential number.

Solution
As a wonderful Web reporting tool, RAQ Report takes great effort to solve this problem. As a result, the Row report mode of RAQ report has fundamentally solved the above problems of dynamic additions and deletions. With RAQ Report, users can achieve these functions easily.

Easy Operations:
1. Set Report style as Row report and set Input type as Input Report.
2. Define properties like Edit style, Auto compute, Sequential Number and Validation according to requirements.
3. Add properties like insertRowLabel, appendRowLabel, deleteRowLabel to the jsp file.

For more details, visit http://freezea.blogspot.com/



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Web report  .  Input data  .  Dynamically delete rows  .  Dynamically add rows  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Sort DataGridView in Run Time
Previous Resource: Code to Get a snap shot of window using c#.net
Return to Discussion Resource Index
Post New Resource
Category: Web Development


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use