Re: [Datagrid] Truncating items

2010-05-27 Thread Malte Pfaff-Brill
You can do that using a column behavior.

Would be easiest with a monospaced font of course, as then you would know 
exactly how many chars you could display. Otherwise, check the formattedwidth 
of the displaying field.

Hope that gets you started,

malte___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [Datagrid] Truncating items

2010-05-27 Thread Trevor DeVore

On May 27, 2010, at 5:41 AM, Terry Judd wrote:

Is it my imagination or is there some automatic way of truncating  
items that

are too long to fully display within a column that replaces the extra
characters with an ellipsis?


This lesson has an example showing how to truncate text. The Data Grid  
has a built-in command called TruncateTail.


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell-

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [Datagrid] Truncating items

2010-05-27 Thread Terry Judd
On 28/05/10 1:02 AM, Trevor DeVore li...@mangomultimedia.com wrote:

 On May 27, 2010, at 5:41 AM, Terry Judd wrote:
 
 Is it my imagination or is there some automatic way of truncating
 items that
 are too long to fully display within a column that replaces the extra
 characters with an ellipsis?
 
 This lesson has an example showing how to truncate text. The Data Grid
 has a built-in command called TruncateTail.
 
 http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-
 I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell-

That's it. Thanks Trevor.

Terry...

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution