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

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

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

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

5 Replies

GO Gomtesh replied to Gomtesh Hatgine 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


RU Ragavee U S Syncfusion Team 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.


GO Gomtesh 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


GO Gomtesh February 27, 2016 04:22 AM UTC

Issue is getting solved Thanks Ragavee 


RU Ragavee U S Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon