on 04-29-2013 12:33 PM
Dear Experts
My requirement is to show data in table but the requirement is show the data in form of columns.
For eg: If we create an ordinary table UI and if we give context binding the context attributes will be binded in as rows
empid name phone mobile
XXX XXX XXX XXXX
XXX XXX XXX XXXX
XXX XXX XXX XXXX
my requirement is to show it as
empid XXX XXX XXX
name XXX XXX XXX
phone XXX XXX XXX
mobile XXX XXX XXX
I am confused now... isit possible to do it?? Kindly suggest..
Thanks & Regards
Arun.K.P
Yes, If the number of employees to be displayed is not a fixed number, It is possible to do using Dynamic programming, which should be your last resort.
Try to have a Discussion with your business/Functional teams on what is the real need or advantage in displaying in Column format.
If its a Must-Do, then... Happy Dynamic Programming!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
It is not possible using standard table UI elements. However, the same can be achieved using dynamic programming. You can create a UI elements dynamically that will appear like table in the above format.
Please note, the dynamic programming is bit complex and it increases the complexity and maintainability of the code. Try to use standard UI elements as far as possible. Also, the format that you mentioend is not user friendly as based upon the number of rows, lets say 100, you will have 101 columns. So you will have horizontal scroll bar which should be avoided.
Having vertical scroll bars are better than horizontal scroll bars.
Hope this helps you.
Regards
Abhinav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.