PDA

View Full Version : Grid, column always aligns to the right??



willgillen
25 May 2007, 1:22 PM
I have a grid setup using column model, and for some reason, the third column ALWAYS seems to align to the right instead of to the left. This column is setup exactly the same as the rest, and the data is exactly the same as the rest. I've even tried swaping the column order, but again, the third column always aligns to the left???

I don't know how to get it to align to the right like the rest of the columns.

Any help?

Thanks.

tryanDLS
25 May 2007, 1:37 PM
Unless you override, all cols align left, except for numerics which go right. Can you post an example.

willgillen
25 May 2007, 1:56 PM
That's the strange part. I'm not overriding anything, and all my columns align left except the third column in the grid. No matter how I arrange the columns in my column model, the "third" column in the grid... very strange.. I'll try overriding with a config option though.

Thanks.

-- W.G.

tryanDLS
25 May 2007, 2:23 PM
You sure you don't have a stray CSS entry kicking around somewhere?
EDIT: I take back my prior statement about numeric right aligning by default - that's not the case. The edit grid example forces that thru config and css.