[CLOSED] RowEditing Save Button

  1. #1

    [CLOSED] RowEditing Save Button

    Is there a way to update the RowEditing's save button text on the fly? I want to use the rowEditing for adding or updating records and want to have the button read "Add" or "Update" as is appropriate. I tried this (I gave my plugin and ID to make it easy to access):

    App.rowEditor.saveBtnText="Add"
    But that doesn't seem to work. However, if I go directly against the generated buttonID, e.g.

    $("#button-1085-btnEl").text("Add")
    That works fine, but I don't want to have to rely on that.
    Last edited by Daniil; Jun 20, 2012 at 12:04 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use:
    App.RowEditing1.editor.floatingButtons.getComponent("update").setText("Hello")

Similar Threads

  1. Replies: 0
    Last Post: Jul 24, 2012, 10:21 AM
  2. Confirmation with save button
    By Vaishali in forum 1.x Help
    Replies: 1
    Last Post: Feb 18, 2012, 11:13 AM
  3. Confirmation for save button
    By Vaishali in forum 1.x Help
    Replies: 0
    Last Post: Feb 13, 2012, 5:22 AM
  4. save two GridPanel's with one button
    By stephan1985 in forum 1.x Help
    Replies: 5
    Last Post: Feb 09, 2010, 12:08 AM
  5. Replies: 1
    Last Post: Feb 05, 2010, 6:46 AM

Tags for this Thread

Posting Permissions