Select one row, refresh other grid.

QuestionsSelect one row, refresh other grid.
Jelmer Bakker asked 10 years ago

Hi everyone. I have a normal Grid and a Grid inside an iFrame. When clicked on a row inside the left Grid (normal one), I want to refresh the right Grid (the one inside the iFrame), but I can't manage to get it working. Can anyone help me?

– Jelmer

1 Answers
Abu Ghufran answered 10 years ago

Hi,

Try this:

1) Define a function in iframe grid file.

<script>
function reloadList() {
$("#list1").trigger("reloadGrid");
};
</script>

2) And then from parent window, call this function.

$('#myFrame')[0].contentWindow..reloadList();

Your Answer

17 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?