[FIXED] [#852] Move from 3.0 to 3.2 default load mask

  1. #1

    [FIXED] [#852] Move from 3.0 to 3.2 default load mask

    Hi,

    two days ago we move our application from Ext.Net 3.0 MVC to Ext.Net 3.2 MVC, in ComboBox and GridPanel placed on Window, with remote load, LoadMask are don't apear, and we can't enable it at those components. It's a bug, or something chaged with LoadMask? In version 3.0 we didn't set any settings for LoadMask and it was enabled in components.

    Here an example:

    @Html.X().Window().Width(400).Height(400).Layout(LayoutType.Fit).Items(
        Html.X().GridPanel()
            .ID("ServiceGroupId")
            .Store(
                Html.X().Store()
                    .Model(
                        Html.X().Model()
                            .IDProperty("CKEY")
                            .Fields(
                                Html.X().ModelField().Name("CKEY"),
                                Html.X().ModelField().Name("CVALUE")
                            )
                    )
                    .PageSize(10)
                    .Proxy(Html.X().AjaxProxy()
                        .Url(Url.Action("GetSys014"))
                        .Reader(Html.X().JsonReader().RootProperty("data"))
                    )
                    .Parameters(p => p.Add(new StoreParameter("ctp", "T8D", ParameterMode.Auto)))
            )
            .ColumnModel(
                x.Column().Text("CKEY").DataIndex("CKEY"),
                x.Column().Text("CVALUE").DataIndex("CVALUE")
            )
        )
    If remove window, loadmask will be enable for combobox.

    EDITED:

    It don't apear only in first time, when I make first click on trigger, with second click mask are enabled. After I click twice in combobox, mask for grid in another window appear too.

    EDITED 2:

    It's a bug, when grid on window end load data before show, then LoadMask don't appear, when I click reload button, but if grid panel is loading data and click show window, then mask will be enable, when I will click reload button.

    EDITED 3:

    Autoload of store don't work, we try to disable autoload, and enable it when user click trigger button, but store already loaded when user click button. We use Config class for setup our custom control with window and grid on window.
    Last edited by fabricio.murta; Jan 06, 2017 at 1:56 AM.
  2. #2
    Hi Andrey,

    Thank you for the report!

    This Sencha bug report appears to be related:
    https://www.sencha.com/forum/showthread.php?299670

    This might be related as well.
    https://www.sencha.com/forum/showthread.php?290521

    As a workaround, please try to set this for the ComboBox's Store.
    .AutoLoad(false)
    By the way, it is good to set anyways, because without this setting the Store loads even before clicking the ComboBox's trigger.
    Last edited by Daniil; Aug 07, 2015 at 6:54 AM.
  3. #3
    So, we faced two individual issues here.

    1. The original issue with no mask.

    It should work regardless an AutoLoad setting. Created an Issue.
    https://github.com/extnet/Ext.NET/issues/852

    2. AutoLoad="false" is ignored if RemoteFilter="true".

    I've moved the related post to a separate thread.
    http://forums.ext.net/showthread.php?59870
  4. #4
    Hello!

    Good news, I don't seem to be able to reproduce this issue in latest Ext.NET based on ExtJS 6.2.1! So I guess this is fixed!

    The (working) test case I ended up with is in the github issue. Mask shows on load with no issues.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Attached default grid view load mask to different el
    By CanopiusApplications in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 04, 2016, 5:39 PM
  2. [CLOSED] Default loding mask not displaying while populating the Grid?
    By speedstepmem4 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 08, 2014, 4:44 PM
  3. [CLOSED] Load Mask Not displaying on Grid Panel data load
    By WHISHWORKS in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 17, 2013, 3:44 PM
  4. Replies: 0
    Last Post: Jun 03, 2011, 4:45 PM
  5. Replies: 0
    Last Post: May 03, 2011, 1:19 PM

Tags for this Thread

Posting Permissions