Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8762541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:33:20+00:00 2026-06-13T15:33:20+00:00

in ExtJs 4.0.2 for requred field indication, i’m using this code: Ext.override(Ext.layout.Layout, { renderItem:

  • 0

in ExtJs 4.0.2 for requred field indication, i’m using this code:

Ext.override(Ext.layout.Layout, {
  renderItem: function(item, target, position) {
  if (item && item.isFieldLabelable && !item.rendered && item.fieldLabel &&   item.allowBlank == false) {
     item.fieldLabel += ' <span class="req" style="color:red">*</span>';
   }
  this.callOverridden(arguments);
 }
 });

But in ExtJs 4.1 this code, don’t work. What is changed? Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:33:21+00:00Added an answer on June 13, 2026 at 3:33 pm

    Checkout new label markup changes in 4.1.x http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.Text-cfg-afterLabelTextTpl You don’t need your override anymore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is extjs javascript code Ext.require([ //'Ext.form.*', //'Ext.layout.container.Column', //'Ext.tab.Panel' '*' ]); Ext.onReady(function() { Ext.QuickTips.init();
ExtJS Charts, I am using an Ext column chart and I want to implement
ExtJS has Ext.each() function, but is there a map() also hidden somewhere? I have
Using ExtJS 4.0.2 , I can type the following into the console: Ext.util.Format.date('2012-01-13', m-d-Y);
In ExtJs how to change label text dynamically i.e iam using like this LabelError.innerText
EXTJS 4 - I am trying to customize the renderer function for the 'series'
ExtJS 1.7.3 on FF 3.6 ² keeps stopping on this line 9863, every time
Using ExtJs. I'm trying to design a main which is divided into three sub
I am using ExtJS 4. I have created a tree panel as var treeStore
I use ExtJs 4.1 and DeftJs. When using multiple instances of the same views

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.