[CLOSED] SpinnerField lose user input in groupingview of gridpanel

  1. #1

    [CLOSED] SpinnerField lose user input in groupingview of gridpanel

    Hi:

    Considering I have a gridpanel with groupingview. In the grid, I put the spinnerfield for editor of the cell.

    I found a weird thing that when you input some value in spinnerfield and click the grouping icon, the grid will expand the group but the spinnerfield will return to the original value which is losing the user input. Is there anything we can do to avoid that?

    Thank you
    Last edited by Daniil; Jul 22, 2011 at 3:55 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up CancelEditOnToggle="false" for GroupingView.
    <ext:GroupingView runat="server" CancelEditOnToggle="false" />
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please set up CancelEditOnToggle="false" for GroupingView.
    <ext:GroupingView runat="server" CancelEditOnToggle="false" />
    Em...Daniil, I can't find the porperty "CancelEditOnToggle" for GroupingView
  4. #4
    If you define a non-existing property in a markup, it will be rendered as a client config item (CustomConfig). In other words, it's a "short-hand" of CustomConfig.

    On server side please use CustomConfig.
    GroupingView1.CustomConfig.Add(new ConfigItem("cancelEditOnToggle", false, ParameterMode.Raw));
  5. #5
    Quote Originally Posted by Daniil View Post
    If you define a non-existing property in a markup, it will be rendered as a client config item (CustomConfig). In other words, it's a "short-hand" of CustomConfig.

    On server side please use CustomConfig.
    GroupingView1.CustomConfig.Add(new ConfigItem("cancelEditOnToggle", false, ParameterMode.Raw));
    It works, Thank you Daniil

Similar Threads

  1. [CLOSED] Tab navigation error in GridPanel which has SpinnerField editor
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: May 27, 2011, 8:20 AM
  2. Replies: 1
    Last Post: Apr 06, 2011, 12:32 PM
  3. Distinguish user input from code change
    By syncos in forum 1.x Help
    Replies: 1
    Last Post: Mar 08, 2011, 7:30 AM
  4. [CLOSED] Preventing user input
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 07, 2011, 1:38 PM
  5. [CLOSED] Trouble with user input in
    By smart+ in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 31, 2010, 8:22 PM

Posting Permissions