Skip to main content
Member
Dec 31, 2025 4:03 PM UTC
Solved

Data formatting GridView

I have tried multiple ways:
Literal Perameters, Column Formatting, Data formatting
to try to format GridView cells.
I have some decimal data coming over.  it is formatted as $#,###,0;($#,###,0);$0
I cannot get it to Horizontal Align Center, Negative Text = Red. 
This is really agitaitng.  Trying to align my data, show Negative Values as Red.  

Thank you in advanced

bil_brandon
Member
Jul 23, 2026 1:28 PM UTC

Hi, CaptJack.

I had a similar problem trying to format column width in a Grid View. I’m displaying a data adapter in my Grid View. Each column in the Data Adapter has a name. I needed to specify the column name on the Column Formatting screen for the changes to take. My column name was Description. Screen shot attached. 

Thanks,
Bil Brandon

2 replies

bil_brandon
Member
Jul 23, 2026 1:28 PM UTC

Hi, CaptJack.

I had a similar problem trying to format column width in a Grid View. I’m displaying a data adapter in my Grid View. Each column in the Data Adapter has a name. I needed to specify the column name on the Column Formatting screen for the changes to take. My column name was Description. Screen shot attached. 

Thanks,
Bil Brandon

Member
Oct 23, 2026 6:26 PM UTC

Any suggestions if you don’t know the name? My column names are generated in the assembly code based on the date (“10-23”, “10-17”, ...).

Thanks,

Rose