Scott Sz
Scott Sz

Reputation: 3998

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

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?

Upvotes: 3

Views: 12312

Answers (1)

Molecular Man
Molecular Man

Reputation: 22386

Try the display field which is

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

Upvotes: 4

Related Questions