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

How to get Grid Data

Thread ID:

Created:

Updated:

Platform:

Replies:

129258 Mar 8,2017 04:28 AM UTC Mar 9,2017 05:16 PM UTC ASP.NET Web Forms 1
loading
Tags: Grid
jason
Asked On March 8, 2017 04:28 AM UTC

I have a Gird like this
<ej:Grid ID="IOTList" runat="server" AllowPaging="false" AllowResizeToFit="true" AllowFiltering ="true">
                <FilterSettings FilterType="Excel" /> 
                <EditSettings AllowEditing="True" EditMode="Batch" ShowConfirmDialog="true"></EditSettings>
                <ToolbarSettings ShowToolbar="True" ToolbarItems="edit,update,cancel"></ToolbarSettings>
            </ej:Grid>

and EditMode I set Batch
When User edit this Grid
I want to get this Grid all Data in C#
Now,I hope to get Grid Data like visual studio GridView -> GridView.Rows[i].Cells[j].Text
How can I do

Jayaprakash Kamaraj [Syncfusion]
Replied On March 9, 2017 05:16 PM UTC

Hi Jason, 

Thank you for contacting Syncfusion support. 

We can get all the Grid Data in DataSource property of Grid in code behind. So, you can get all the Grid data in server edit event using DataSource property of Grid.  Please refer to the below help document and  code example. 




 
            var data = this.Grid1.DataSource; 
         


 


Regards, 

Jayaprakash K. 


CONFIRMATION

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.

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

;