C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Alignment set during run time but not shown accurately

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 4
adiossia Posted: Sun, Jun 28 2009 4:03 AM
Hi, I have written a program with the Flex Grid. Somehow, during the form load event, when i set the alignment of the cols to center, it is been displayed correctly. However, when i reload the grid during other events, the alignment went out though the same coding was used as the form load event. The flex grid was bounded to a datasource. Any advice is appreciated. Thanks!
Top 25 Contributor
Posts 276
C1_SamX replied on Tue, Jun 30 2009 4:56 PM

Hello,

 

As mentioned in your mail that when you try to set the alignment of the column to center and then try to reload the grid, you are not able to restore the same alignment settings.

 

Well in order to replicate the issue more clearly I would request you to let me know how you are trying to reload the grid and also let me know that before reloading the grid are you deleting the data from the grid.

 

I have tried to create a small sample at my end and I used the Clear method to remove the data from the grid and then I rebind the grid to recordset.

 

Please feel free to share your observations on the same.

 

Have a nice day.

 

Regards,

Sam Xavier

 

<adiossia> wrote in message news:219422@10.0.1.98...
Hi, I have written a program with the Flex Grid. Somehow, during the form load event, when i set the alignment of the cols to center, it is been displayed correctly. However, when i reload the grid during other events, the alignment went out though the same coding was used as the form load event. The flex grid was bounded to a datasource. Any advice is appreciated. Thanks!

http://helpcentral.componentone.com/cs/forums/p/79688/219422.aspx#219422

Page 1 of 1 (2 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2009 ComponentOne LLC All Rights Reserved.