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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

I want to display grid record onfirst postion in as editable

Thread ID:





119986 Aug 20,2015 11:23 AM UTC Aug 21,2015 10:35 AM UTC jQuery 1
Tags: ejGrid
Rakesh Advani
Asked On August 20, 2015 11:23 AM UTC

Technology : Angualar js and mvc 

  I want to display specific record on first position and grid textbox should be open to do changes on it.

Isuriya Rajan [Syncfusion]
Replied On August 21, 2015 10:35 AM UTC

Hi Rakesh,
We need the following details to analyze you requirement.

1.     While clicking on the Add button in Toolbar, a new row will be included automatically in the top of the Grid. So let us know in which scenario you need an editable row in first position?

 And refer the below code and let us know you if want to insert your data to the first position in the dataSource via any of the operations like in the code.

  <input type="button" ng-click="addItem()" value="Add Item" /><br/>

function Ctrl($scope) {

                    $scope.data = [

                    new String('Item 4'), new String('Item 3'), new String('Item 2')];

                    $scope.addItem = function () {

                        var c = $scope.data.length + 1;

                        var item = new String('Item ' + c)

                        $scope.data.splice(0, 0, item);



2.     Are you using any of the Grid editTemplates? 

3.   While clicking on the Edit button, you can made changes in Grid textbox. In which scenario you expecting to display an editable textbox?   

Please let me know if you need any further assistance.


Isuriya R


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