We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid CommandButtonOptions CssClass not working (Blazor 17.4.39)

After upgrading to 17.4.39, Grid GridCommandColumn CssClass not working

<EjsGrid DataSource="@Orders" AllowPaging="true">
    <GridPageSettings PageSize="5"></GridPageSettings>
    <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>
        <GridColumn TextAlign="TextAlign.Right" Width="300">
            <GridCommandColumns>
                <div class="btn-group" role="group">
                    <GridCommandColumn ButtonOption="@(new CommandButtonOptions { Content = "Edit", CssClass = "e-warning" })" />
                    <GridCommandColumn ButtonOption="@(new CommandButtonOptions { Content = "Delete", CssClass = "e-danger" })" />
                </div>
            </GridCommandColumns>
        </GridColumn>
    </GridColumns>
</EjsGrid>

4 Replies

RN Rahul Narayanasamy Syncfusion Team December 24, 2019 12:26 PM UTC

Hi Ashimaz, 

Greetings from Syncfusion. 

Query: After upgrading to 17.4.39, Grid GridCommandColumn CssClass not working 

We are able to reproduce the reported issue at our end and we have confirmed it is bug. Thank you for taking the time to report this issue “Grid CommandButtonOptions CssClass property is not working in blazor” and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our next upcoming patch release which is expected to be rolled out on or before January 14, 2020. Until then we appreciate your patience. 
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this feedback. 


Please get back to us if you need further assistance. 

Regards, 
Rahul 



VN Vignesh Natarajan Syncfusion Team January 10, 2020 09:34 AM UTC

Hi Ashimaz,  
 
We are glad to inform that our latest Nuget package (17.4.0.42) has been successfully rolled out. In this release we have resolved the issue “Grid CommandButtonOptions CssClass property is not working in blazor”. Please find the latest Nuget package from below and also find the release notes regarding the fixes we have included in this release.  
 
 
 
Also ensure that you have referred the latest version script and css as below  
 
  <link rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.4.42/fabric.css" rel="stylesheet" /> 
 
 
Please get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 
 



AS ashimaz January 10, 2020 12:45 PM UTC

Thank you, its working fine.


VN Vignesh Natarajan Syncfusion Team January 13, 2020 04:09 AM UTC

Hi Ashimaz,  
 
Thanks for the update.  
 
Please get back to us if you have further queries. 
 
Regards, 
Vignesh Natarajan. 


Loader.
Live Chat Icon For mobile
Up arrow icon