Sep 23, 2011, 8:13 PM
[CLOSED] Label Editor - Ellipsed text in labe, but want full text in editor
Hi, I have a label editor, the label shows the value ellipsed for a very long string, but when the user edits the label, I want to show the full string, and not the ellipsed string...
How can I do that?
How can I do that?
<ext:Label ID="txtTitle" runat="server" Html="Activity Title" StyleSpec="font-size:18pt"
Width="400">
<Editor>
<ext:Editor ID="Editor1" runat="server" AutoSize="Width" Height="60" >
<Listeners>
<BeforeStartEdit Handler="#{Editor1}.setValue(#{hidTitle}.getValue());" />
<BeforeShow Handler="alert('bef sho'); />
<Complete Handler="Ext.net.DirectMethods.TitleEdit(value,#{gridActivities}.getSelectionModel().getSelected().data.ActivityInProgressId,
{
success: function ()
{
if (value.length>60)
#{txtTitle}.setText(value.substring(0,60));
#{hidTitle}.setValue(value)
}
});" />
</Listeners>
</ext:Editor>
</Editor>
</ext:Label>
Last edited by Daniil; Sep 29, 2011 at 7:21 AM.
Reason: [CLOSED]