hello i need to be able to hide text overflow on a grid with non fixed layout.
this can be achieved by inserting <div> inside each table cell with text overflow hidden.
is it possible to gain access to cell element on the server in order to enclose the text within a div?
rbuch said:there has to be a way i can add some marktup to the cell w/out changing the underlying value??
Using a templated cell has its own costs. Templates in ASP.NET entail a performance hit, which will be magnified if the template is instantiated a number of times (such as a large number of cells). You will also lose the ability to edit the cell's HTML in a way that automatically updates the cell's value, unless you write JavaScript to reconnect the cell's HTML to its value.
rbuch said:it looks like column summing happens at RENDER time??
rbuch said:i verified, that changing the Text property also changes the Value property, and vice versa ... is that by design?
the UltraGridCell has a Value property, AND Text property.
i verified, that changing the Text property also changes the Value property, and vice versa.
grrrr..
is that by design? why have 2 properties if they are synchronized like that....
it looks like column summing happens at RENDER time??
because i overwrote render, added extra markup to cells, and called base.Render,
and all sums are still coming back as 0
aha..
there has to be a way i can add some marktup to the cell w/out changing the underlying value??
By changing the Text property of your cells, you're also changing the cells' Value. Summaries and group-by functionality both depend on the cell's value. So, this result would be expected.