ExtJS 4 how to add a static label field to a form that displays a data field from a store?

12,296

Try the display field which is

A display-only text field which is not validated and not submitted.

Share:
12,296
Scott Szretter
Author by

Scott Szretter

As. Director or Information Technology / Developer N1VAN www.508tech.com Apache / PHP / MySQL IIS / ASP.NET / MS-SQL Flex / Flash Builder / Actionscript .NET / C# / VB / MVC JavaScript / XML / HTML / DHTML Java / Objective-C Enterprise Networking / Server & Workstation Hardware / Storage VMWARE / VEEAM

Updated on June 05, 2022

Comments

  • Scott Szretter
    Scott Szretter almost 2 years

    I want to display some static (non-editable) fields on my form - for example record id.

    I tried a label field, but it does not appear to have a way to wire it up to the data store/model like fields do.

    I know I can add text fields and make them non-editable, but I prefer the look of having a text label.

    What is the best way to do this?