Creating Custom Datagrid that auto adds attributes at <TD> leve

T

TimG

I am creating a custom data grid in which I want to modify Table, Row and
Cell level attributes. I have discovered how to update the row level
attributes, by Overriding the createitem function. I am trying to figure
out how to do the same at the cell level.
 
S

Scott Mitchell [MVP]

TimG said:
I am creating a custom data grid in which I want to modify Table, Row and
Cell level attributes. I have discovered how to update the row level
attributes, by Overriding the createitem function. I am trying to figure
out how to do the same at the cell level.

Tim, the columns for a DataGrid are rendered by the various
DataGridColumnd-derived classes (BoundColumn, TemplateColumn,
HyperLinkColumn, etc.).

FYI, you can also adjust these settings programmatically in the
code-behind page with a standard DataGrid, if that's an option.

Happy Programming!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top