Hi all,

I searched all the Q&A and tutorial. I could not find any. I need to validate both column and row when changed. How can I go ahead? Give me a complete example.

Thanks in advance.

George

asked 25 Feb '13, 19:22

George's gravatar image

George
1111226
accept rate: 0%


Hi George,

I guess you need to validate both column and row when the value of a column is changed. If so, you can define a "valueChanged" event on the component which is bound to this column. Similarly, you can use the "valueChanged" event of the grid if you need to trigger an event each time any grid column value is changed.

In the "valueChanged" event, you can retrieve the entire row through the api_datasource.getRow API and apply your validations.

Hope this helps,
Ibrahim

link

answered 26 Feb '13, 04:53

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×1
×1
×1
×1

Asked: 25 Feb '13, 19:22

Seen: 712 times

Last updated: 26 Feb '13, 04:53


© Copyright Gerger 2017