[CLOSED] "Gridpanel.save" clears the grid if selectcommand is blank

  1. #1

    [CLOSED] "Gridpanel.save" clears the grid if selectcommand is blank



    Hi
    This is similar to the problem that I had yesterday, I get alot of these problems now because I have one to many grid solution, and both grids should be editable. The way I have solved this is by a AjaxMethod that sets the select command in the store. But it seems like the store should be set in the PageLoad, because I run into alot of problems using this approach. The reason for me to put the select command in a ajax method is because, the parent grid click sets the parameters in the ajax method function.

    Any way my grid gets cleared when I try to save using the handler="Gridpanel.save". Is there a way around this?

    /Mikael




  2. #2

    RE: [CLOSED] "Gridpanel.save" clears the grid if selectcommand is blank

    Hi,

    I am not sure that I clear understood your scenario. Please show the code
    Please note that after saving a grid reloads data. You can disable it, set RefreshAfterSaving="None" for Store
  3. #3

    RE: [CLOSED] "Gridpanel.save" clears the grid if selectcommand is blank

    Yes that property solves my problem, thanks.

    /Mikael

Similar Threads

  1. [CLOSED] GridPanel RowEditor with new blank row
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 14, 2012, 7:47 AM
  2. [CLOSED] ext:NumberField clears to blank on blur (when 0 is entered)
    By jthompson in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 09, 2011, 10:44 PM
  3. Replies: 1
    Last Post: Jul 27, 2011, 10:19 AM
  4. [CLOSED] "Blank" gridpanel column until edited...then blank again!
    By dmoore in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 24, 2011, 4:11 PM
  5. Blank Record in Editable grid
    By Hari in forum 1.x Help
    Replies: 2
    Last Post: Jan 19, 2010, 1:39 PM

Posting Permissions