Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spontaneous right-justification of sorted column

Status
Not open for further replies.

RebLazer

Programmer
Jun 7, 2002
438
US
Is there any common reason why upon sorting a bound column of a datagrid, it would mysteriously right-justify the sorted column. If a second column is sorted, it becomes right-justified, and the originally sorted column reverts to center-positioned.

Any ideas?

Thanks,
RebLazer :)
 
...also, why might the up/down arrows (indicating ascending vs. descending sort) appear in the header of the sorted column in one datagrid but not in another? In other words, how do you make that arrow appear?

Thanks again!
RebLazer
 
I certainly don't have a clue on your first issue there, but the second question here isn't default behavior... it's something that would have to be programmed in... most likely in the onItemDataBound event handler.

If you have relevant code, we might be able to take this discussion further.
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top