This is a migrated thread and some comments may be shown as answers.

validate functions not working on inline or popup editing

3 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
tinson
Top achievements
Rank 1
tinson asked on 08 Jul 2013, 09:07 AM
kendo ui grid in editable mode  can't validate the input value when I cut the value from the textbox and then paste it into the  textbox again,and I find the demo for it  has the same problem,so I think my code is OK, it's a bug,who can help me to fix it???

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 08 Jul 2013, 10:38 AM
Hello,

Can you please provide steps to reproduce this issue?

Thanks,
Jayesh Goyani
0
tinson
Top achievements
Rank 1
answered on 08 Jul 2013, 10:55 AM
thanks for your replying.

OK,let me reproduce the progress for it 


1、open the demo page http://demos.kendoui.com/web/grid/editing-inline.html
2、edit the row of the grid from fllowing step:
  a.cut the value 'Chai' from the textbox and click another row,the textbox show us the message  saying ProductName is required;
 b.you mouse focus on the textbox , paste the value and mouseleave,you will find the message was still dispaly;

is that clear?
0
Kiril Nikolov
Telerik team
answered on 08 Jul 2013, 02:03 PM
Hi Tinson,

The Validator is attached to the change event of the Grid input. In your example, you are using the same value and therefor the change event is not being fired. This means that this is more of expected behaviour than bug in the Grid validation.
 
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
tinson
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
tinson
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or