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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to hide a row in the grid, client side.

Thread ID:





140765 Nov 6,2018 09:28 AM UTC Nov 7,2018 05:33 AM UTC ASP.NET MVC 1
Tags: Grid
Asked On November 6, 2018 09:28 AM UTC

I have a requirement to hide selected rows of the grid (not delete). Is there a way to do it?
Thank you

Vignesh Natarajan [Syncfusion]
Replied On November 7, 2018 05:33 AM UTC

Hi Kalum, 

Thanks for contacting Syncfusion support. 

Query : I have a requirement to hide selected rows of the grid (not delete). Is there a way to do it?  
From your query we understand that you need to hide the selectedRows in ejGrid. We have achieved your requirement using the getSelectedRows() method of ejGrid and hide the selected rows in an external button click. 

Refer the below code example. 

@Html.EJ().Button("button").Text("Hide Row").Size(ButtonSize.Normal).ShowRoundedCorner(true).ClientSideEvents(eve => eve.Click("hiderow")) 
            .Columns(col => 
<script type="text/javascript"> 
    function hiderow(args) { 
        var obj = $(".e-grid").ejGrid("instance"); 
        var row = obj.getSelectedRows(); 

Refer our API documentation for your reference 

If you need any further assistance, please get back to us. 

Vignesh Natarajan 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon