Upgrade to 19.4.0.53 has broken Context Menu functionality

Hello,

I have upgraded to 19.4.0.53 to fix an issue introduced in 19.4.0.52 and have now found that 19.4.0.53 has broken the Context Menu functionality. Now when you right click on the column header no menu is displayed. The following code demonstrates the problem:


<SfGrid @ref="DefaultGrid" DataSource="@Orders"

    AllowSorting="true"

    AllowResizing="true"

    ID="TestAutoResize"

    EnablePersistence="true"

    ContextMenuItems="@(new List<object>() { "AutoFit", "AutoFitAll"})"

>

    <GridColumns>

        <GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" TextAlign="TextAlign.Right" Width="120"></GridColumn>

        <GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>

        <GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>

        <GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>

    </GridColumns>

</SfGrid>


@code{

    private SfGrid<Order> DefaultGrid;


    public List<Order> Orders { get; set; }


    protected override void OnInitialized()

    {

        Orders = Enumerable.Range(1, 20).Select(x => new Order()

        {

            OrderID = 1000 + x,

            CustomerID = (new string[] { "ALFKI", "ANANTR", "ANTON", "BLONP", "BOLID" })[new Random().Next(5)],

            Freight = 2.1 * x,

            OrderDate = DateTime.Now.AddDays(-x),

        }).ToList();

    }


    public class Order

    {

        public int? OrderID { get; set; }

        public string CustomerID { get; set; }

        public DateTime? OrderDate { get; set; }

        public double? Freight { get; set; }

    }


Thanks,

}


3 Replies

GK Gayathri KarunaiAnandam Syncfusion Team February 25, 2022 09:46 AM UTC

Hi Chuck, 

We are sorry for the inconvenience. The issue is due to some technical glitches at our end. We will resolve this in our upcoming patch release which is scheduled for March 2nd,2022. Please use the below custom package until then. 
                

Regards, 
Gayathri K 



CR Chuck Richardson March 3, 2022 01:49 AM UTC

Hi  Gayathri,


I have upgraded to 19.0.4.54 and can confirm this issue has been resolved.


Thanks,


Chuck



GK Gayathri KarunaiAnandam Syncfusion Team March 4, 2022 03:36 AM UTC

Hi Chuck,  
     
We are happy to hear that your issue has been resolved. Please feel free to contact us if you need any further assistance on this.  
  
Regards,  
Gayathri K  


Loader.
Up arrow icon