adding a row to a datagrid dynamically

Spycky

New Member
When binding data to a datagrid, is there a way to programmatically add rows? For example I'd like to always display 10 rows either with data or with place holders (css styles such as bottom border). So, if my data returns only 8 rows I'd like to have 2 rows added to the end that have the css styles with a bottom border showing.<BR>I'd also like to know how I can insert a block of html before the first row of data gets drawn. I'd like to add the following. <BR><colgroup><BR> <col width="50"><BR> <col width="120"><BR> <col width="120"><BR></colgroup><BR>My reason is for making use of the style TEXT-OVERFLOW: ellipsis. http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/textoverflow.asp<BR><BR>thanks<BR><BR>matt
 
Back
Top