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

Custom edit popup for grid result in "TypeError: source.unbind is not a function"

1 Answer 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
grenal
Top achievements
Rank 1
grenal asked on 05 Nov 2012, 11:46 PM
Hi, All.
Could you help me to resolve the problem "TypeError: source.unbind is not a function" whith popup editor for grid?
I do the page for edit user roles. The row grid present information about user and popup editor is used for editing user properties and user roles.
To show the list of roles in popup editor I add source template for Roles which show roles as list of checkboxes. The problem is that  jscript error occur after click cancel button.
Here it is the demonstration of the problem: http://jsfiddle.net/grenal/KGsSL/73/.
To reproduce error. Push edit button in grid and push cancel in pop up dialog. I expected dialog closing, but it does't.

1 Answer, 1 is accepted

Sort by
0
steven
Top achievements
Rank 1
answered on 13 Nov 2012, 02:41 PM
did you ever find an answer to this, I'm trying to work out the same issue... on canceling or closing a trid, get Uncaught TypeError: -------- has no method 'unbind'
Tags
Grid
Asked by
grenal
Top achievements
Rank 1
Answers by
steven
Top achievements
Rank 1
Share this question
or