Datagrid truncateTail

Pete pete at mollysrevenge.com
Thu Oct 6 22:52:59 EDT 2011


Yep, I'm doing  that.  Got it from the How To guide as you mentioned.  I
will double check in case I did something wrong.

Thanks for checking.

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Thu, Oct 6, 2011 at 6:58 PM, David Glass
<dglass at graymattercomputing.com>wrote:

> I must have asked somewhere else, but the question and answer is there in
> the 'How do I override the default behavior when rendering data' or
> something along those lines.
>
> Basically, you have to store the text in a custom property, then reset it
> in LayoutControl before calling TruncateTail, rather than putting it in the
> field and truncating that.
>
>
> On 10/06/2011 6:47 PM, David Glass wrote:
>
>> Yes.
>>
>> I think I even asked in the DG lesson area about it.  I'll see if I can
>> find the solution.
>>
>> On 10/06/2011 6:05 PM, Pete wrote:
>>
>>> I've been using the truncateTail command of the datagrid library and it
>>> has
>>> been working ine but just came across a situation where it doesn't seem
>>> to
>>> work.
>>>
>>> If I resize a column to be narrower than the text, it works fine but if I
>>> then resize it back so it's wide enough to hold the original contents, it
>>> still shows the truncated text.  Anyone else come across this?
>>>
>>>
>>> Pete
>>> Molly's Revenge<http://www.**mollysrevenge.com<http://www.mollysrevenge.com>
>>> >
>>>
>>
>>
> --
> David Glass - Gray Matter Computing
> graymattercomputing.com
> Help Desk: http://www.**graymattercomputing.com/**helpdesk<http://www.graymattercomputing.com/helpdesk>
> 559-303-4915
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the use-livecode mailing list