powerbuilder datawindow grid interchange column position degign time

We have created a datawindow grid with columns c1, c2,c3,c4 (this is the order they are shown in the screen). how can we make them to appear with another order (f.e c1,c3,c4,c2) in design time ?

basilhs_sAsked:
Who is Participating?
 
sandeep_patelConnect With a Mentor Commented:
Here is the trick...
1. Open datawindow in edit source mode.
2. search processing=1 and change it to processing=0
3. Save it and open in design mode
4. move your columns.. save it... close it
5. again open in editsource mode and revert back processing to 1
6. Done!!!!!!!!!!

Regards,
Sanadeep
0
 
sandeep_patelCommented:
I would recommend to first take back up of your original datawindow... in case if something goes wrong.!!!
0
 
basilhs_sAuthor Commented:
thanks very much
0
 
diasroshanCommented:
Hi,

u can just drag n drop the column where u want in a grid DW.
Did u try it?

Preview ur DW and simply drag n drop it in the position u want. Its that simple!!

Cheers,
Rosh
0
 
sandeep_patelCommented:
Nice find Rosh!!!!

I thought it was just at runtime and won't be permanent.

Regards,
Sandeep
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.