473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Datagrid column formatting (basics)

Some basic things I cannot figure out how to do with new datagrid.

1) How do I control the formatting of the column header separately from the
rest of the column?

2) If I align right the column, the header text gets jammed to the right
almost so you cannot read the last letter... how do I pad the cell?

3) Cell padding in general?

I feel like I am missing something about the new datagrid that is way
different from the old flexgrid? I am using the datagridcolumnstyles and such
but cannot find anything about controlling headers separately and formatting
columns in general?
--
Michael Calvin
mp*@expressleasing.com
Nov 21 '05 #1
1 1669
Michael,

Here are 2 useful datagrid resources:

http://msdn.microsoft.com/library/de...asicprimer.asp

http://www.syncfusion.com/FAQ/WinForms/default.asp

Kerry Moorman
"Michael Calvin" wrote:
Some basic things I cannot figure out how to do with new datagrid.

1) How do I control the formatting of the column header separately from the
rest of the column?

2) If I align right the column, the header text gets jammed to the right
almost so you cannot read the last letter... how do I pad the cell?

3) Cell padding in general?

I feel like I am missing something about the new datagrid that is way
different from the old flexgrid? I am using the datagridcolumnstyles and such
but cannot find anything about controlling headers separately and formatting
columns in general?
--
Michael Calvin
mp*@expressleasing.com

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Evan Brown | last post by:
Hi I have a Datagrid with a boolean column in it. I currently have it set as a textboxColumn and not a checkcolumn. what I want to do is have it say yes/no not true/false. Any suggestions? ...
0
by: Frnak McKenney | last post by:
One of the reasons given for the Allied victory in WWI is that the Nazi armament industry invested so much effort in creating new weapons (e.g. the jet plane) it wasn't able to develop any of them...
1
by: J.B | last post by:
I have a datagrid that will display different datasets, (it runs different sprocs based on a value in the querystring) but it will always return 6 columns. The 5th and 6th columns are always Date...
2
by: Sebi | last post by:
Hello all is it possible to add a checkbox in a DataGrid for Boolean Data? Thanks in advance
4
by: Paul | last post by:
Hi, Everything went fine getting a short date format out of SQL into my DataGrid with this: <%# DataBinder.Eval(Container.DataItem, "Created", "{0:d}")%> Then I got too fancy in SQL and...
2
by: Jim Heavey | last post by:
Hello, I can not seem to get my "EditCommand" event to fire. My code for the datagrid looks like the following: <asp:datagrid id="dgTask" runat="server" PagerStyle-Mode="NextPrev"...
5
by: cwbp17 | last post by:
Hi all, Have a datagrid that displays the price column of a table. Went to the Datagrid's Property builder and set the 'Data Formatting expression' for the PRICE column to {0:c}, so that the...
4
by: steve | last post by:
Hi, First my apologies for double-posting but I am not sure wether this is a VB.Net or TSQL problem. I have the following problem: I generate a T-SQL string in order to fill my Dataset and...
2
by: =?Utf-8?B?Y3JlYXZlczA2MjI=?= | last post by:
I have a nested datagrid in a xaml file, the parent datagrid loads the vendor information and the details loads the documents for that vendor in a datagrid. Everything is working fine until I click...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.