on 12-09-2010 12:39 PM
Hi ,
I want to know how to create tables dynamically. for example: I am having input field in which user will enter some value, suppose he enters 5 , and clicks on a button ,then 5 tables with same number of columns should get generated. Please tell the complete procedure.
Thanks and Regards,
Saurabh
That depends on the degree of flexibility you need. Is the number of tables to be created fixed? Is there an upper bound? Is the context structure needed to create these tables fixed or does it need to be created dynamically?
Depending on the answers to these questions a solution can be sketched. Generally you can get any flexibility you need, that is you can create the context structure and also the view elements dynamically if needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh
Use for loop to create tables dynamically and add column with based on user user input.
Refer to /people/siarhei.pisarenka3/blog/2009/11/10/dynamic-ui-generation-table-displayed-in-row-wise-horizontally
Hope it will helps
Regards, Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is no proper procedure through which I can create tables at runtime based on the number entered by the user in input field. Could you please guide me in organised way. The requirement is ... There are 5 checkbox and infront of each checkbox is input field. User can select any number of checkbox and will input number of tables required for each checkbox he has selected by inputting the value in input field .. and once he clicks the button that number of tables should get generated..
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not getting the proper procedure of creating tables at run time. My requirement is that we have 5 checkxes and in front of each checkbox is an input field. User will enter value and once he clicks on a button that number of table shoul get generated .
Please provide proper solution..
Thanks
Saurabh
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.