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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Inline Editing Add new record at bottom but it shows at top position

Thread ID:

Created:

Updated:

Platform:

Replies:

123202 Feb 25,2016 12:41 PM UTC Feb 29,2016 05:06 AM UTC JavaScript 5
loading
Tags: ejGrid
Gomtesh
Asked On February 25, 2016 12:41 PM UTC

Hi,
For Inline Editing in Grid using AngularJS,
But Validation Rules are not performing

Here is the sample:
http://jsplayground.syncfusion.com/aqvhgz1y
Sample

Gomtesh
Replied On February 26, 2016 05:35 AM UTC

Hi,
For Inline Editing in Grid using AngularJS,
But Validation Rules are not performing

Here is the sample:
http://jsplayground.syncfusion.com/aqvhgz1y
Sample

I have updated sample because i have to use version 13.1.0.21


in that even i add record at bottom it is added at top  of grid but i have to put record at bottom and after save it should place at bottom

Ragavee U S [Syncfusion]
Replied On February 26, 2016 09:45 AM UTC

Hi Gomtesh,

Query #1: But Validation Rules are not performing

We have analyzed the sample that you have shared and found that the jquery validation scripts have not been referred in the sample link which is the cause of the reported issue. Please refer to the below online documentation for more information.

Documentation Link: http://help.syncfusion.com/js/grid/editing#column-validation

Also, in our v13.1.0.21, we had a known issue “Validation message misplaced for dropdown column”. This issue has been fixed in our 2015 Volume 1 Service Pack 1 v13.1.0.30. So we suggust you to upgrade to v13.1.0.30 or later versions in order to avoid this issue.

Query #2: in that even i add record at bottom it is added at top of grid but i have to put record at bottom and after save it should place at bottom

By default, Essential Javascript Grid will place the newly added record at the top of the grid when using local databinding. In the sample shared, we found that the direction of the sorted Column “SequenceNo” is descending. Since the SequenceNo column is a serialized number, the newly added row is displayed at top of Grid upon saving based on the sorted direction.

So we suggest you to specify the sorting direction to “SequenceNo” column as “ascending” in order to achieve your requirement.

Regards,
Ragavee U S.

Gomtesh
Replied On February 27, 2016 04:09 AM UTC

Even i change the version validations are not working

As per your suggestion i have changed sample::
http://jsplayground.syncfusion.com/eiuaezlo

Gomtesh
Replied On February 27, 2016 04:22 AM UTC

Issue is getting solved Thanks Ragavee 

Ragavee U S [Syncfusion]
Replied On February 29, 2016 05:06 AM UTC

Hi Gomtesh,

Thanks for your update.

We are happy that your issue is resolved.

Regards,
Ragavee U S.

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

;