TextField within RowExpander not allow blanks as I can solve.

Page 1 of 2 12 LastLast
  1. #1

    TextField within RowExpander not allow blanks as I can solve.

    TextField within RowExpander not allow blanks as I can solve.
  2. #2
    Quote Originally Posted by idelacruz View Post
    TextField within RowExpander not allow blanks as I can solve.
    Can you share the markup for the TextField?
  3. #3
    Quote Originally Posted by bayoglu View Post
    Can you share the markup for the TextField?
    Did you try setting AllowBlank="true" for the TextFiled? (It must be the default setting.)
    Another possibility is that you may not be allowing null values for the store where you load the TextField value. Try setting UseNull="true" for the model field in the store's model collection related to the TextField like this.

    <ext:ModelField Name="MyProperty" Type="String" UseNull="true"></ext:ModelField>
  4. #4
    Last edited by Daniil; Mar 19, 2013 at 5:41 AM. Reason: Please use [CODE] tags
  5. #5
    Please post setDatos function also.

    <Expand Fn="setDatos" />
  6. #6
    Quote Originally Posted by bayoglu View Post
    Please post setDatos function also.

    <Expand Fn="setDatos" />
    This is the javascript function.

    var setDatos = function (item, record) {
    App.frmProduccion.reset();
    App.txtProgDetId.setValue(record.get('ProgLabDetal le_Id'));
    App.cmbTipMineralStore.reload();

    }
  7. #7
    Quote Originally Posted by idelacruz View Post
    This is the javascript function.

    var setDatos = function (item, record) {
    App.frmProduccion.reset();
    App.txtProgDetId.setValue(record.get('ProgLabDetal le_Id'));
    App.cmbTipMineralStore.reload();

    }
    Please expect your help as soon as possible, I am stuck with the project's progress.
  8. #8
  9. #9
    I also suggest you to investigate this thread. You are accessing frmProduccion by ID as App.frmProduccion in setDatos function, and also using SingleExpand = false. It is a shared component and if you want to access the form panel by id, you will need to set SingleExpand=true with the latest v2 commit, or you can use RowExpander's getForm() function to access it (with SingleExpand=false).
  10. #10
    Attached Thumbnails Click image for larger version. 

Name:	Captura.jpg 
Views:	34 
Size:	99.9 KB 
ID:	5846  
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] TextField inside RowExpander doesn't allow blank spaces
    By pawangyanwali in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 02, 2012, 11:44 AM
  2. [CLOSED] [1.3] RowExpander TextField not selectable.
    By drgw74 in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 31, 2012, 11:12 AM
  3. [CLOSED] Pages with grid blanks out
    By AnulekhaK in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 08, 2012, 9:05 AM
  4. How to solve the OutOfMemoryException
    By Dig2010 in forum 1.x Help
    Replies: 9
    Last Post: Dec 15, 2010, 3:31 PM
  5. [SOLVE] Problem with subwindow layout
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 29, 2009, 6:37 AM

Posting Permissions