How to evoid saving a grid without filling required fields?

  1. #1

    How to evoid saving a grid without filling required fields?

    Hi,


    I need to validate that a grid data is not saved without filling some required fields.


    The following is the code for the grid.


    <Click Handler="#{GridPanelGroupListing}.save();" />

    Could you tell me please how to make this validation like you do for the Form as follows:


    <Click OnEvent="SaveGroupClick" Before="return #{FormPanelGroupDetail}.getForm().isValid();" Succes="Ext.Msg.alert('', 'Saved');"/>

    Thanks,


  2. #2

    RE: How to evoid saving a grid without filling required fields?

Similar Threads

  1. GridPanel Required Fields
    By Gianluca in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2012, 7:42 PM
  2. Replies: 1
    Last Post: Nov 29, 2011, 7:13 AM
  3. How to avoid saving of data if required filed not filled
    By kondareddy1984 in forum 1.x Help
    Replies: 3
    Last Post: Jun 30, 2011, 6:20 AM
  4. [CLOSED] [1.0] Required Fields
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 15, 2010, 10:57 PM
  5. Replies: 1
    Last Post: Jan 26, 2010, 10:46 AM

Posting Permissions