Rauf,
There is no means to 'dynamically' add columns to a grid. Additionally, there is no means to 'dynamically' move the location of any columns within a grid.... I here you, bad news.
Last year I had a project that required the grid to be dynamic... The client wanted grid columns to display, based on different types of values. Basically - they wanted the grid to be a pivot table. I ended up adding as many columns as the client said they would ever need (plus more, because clients never know how many they need). I did not tie the 'dynamic' columns to a BSVW. As the BSVW was read, I populated the columns based on the sequence/value of the data in field... writing the values across the grid BUFFER, the writing the grid row buffer when the key values changed. Additionally - after the grid was populated, I did the Hide/Show column based on which columns had valid values.
Painful and a lot of repetitive programing that cannot take place in a NER (has to take place in the application due to App ER System Functions).
Regards
(db)
Can you please explain this idea in detail?
For my last task, I created 30 columns and did 30 fetches
Again, I got the similar task with infinite number of columns

.
Please have a look at the attachment.
My idea is to have 30 columns during the grid design. And I will implement paging for columns(same as row paging).
While page loading, I will fetch Month Seq No from 1 to 30, if the user click 'Next Columns', I will load 31 to 60.
So if the Month Seq No is 1, I need to assign the amount to grid column 1. If the Seq No is 2, then grid column 2 etc.
Also, if the Seq No is 31, I will calculate 30 mod 31 ~ 1, and will update the first column...
How is this idea ?