Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
i have a report in which the user can select a list of columns related to a particular table using a parameter. Here i need to rearrange the columns.

I'm able to rearrange a single column by using two parameters one is to select a particular column we want to move and other parameter is to select a column that my desired column need to place after/before this column.for this i have created a Stored Procedure. Its works fine.

Is it possible to rearrange multiple columns?
Posted
Comments
coded007 18-Jul-14 8:38am    
Can you please explain me in more detail.
Member 10955034 18-Jul-14 9:23am    
Im using a matrix report that is dynamically displaying the columns when we select a particular table through parameter.
Before displaying the columns i need to move the columns as per the user request, so for that purpose i'm using two more parameters one for selecting the desired column want to move or swap and the other one is selecting a column after/before this column want to place. i can move a single column by this approach before viewing the report ,It cant be possible for moving multiple columns.

Is there any approach to achieve this??
coded007 21-Jul-14 3:25am    
you need to handle this in SQL Query becoz Matrix report only shows the data you get from sql query.

1 solution

If you are using .RDL OR .RDLC file then you may change position of column through opening in text editor like notpad++ etc . after opening you RDL or RDLC file in text editor you may change column position accordingly ,i did it same but my case was with RDLC :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900