QDataGrid Refresh and QAjaxAction Error

thread: 2 messages  |  last: a year ago  |  started: tuesday, february 16, 2010, 6:29 pm pst


#1  |  atteeela (calgary, alberta) Canada
Tuesday, February 16, 2010, 6:29 PM PST

Hi All,

I am having a problem with refreshing the QDataGrid on an Ajax event.

I have set UseAjax = true
And also have a seperate binder for the data grid.

I get this error when the QAjaxAction fires:

objWrapper is null
on line number 54
in file http://localhost/qcodo/assets/js/_core/control.js


Thanks,

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Tuesday, February 16, 2010, 11:12 PM PST

It's likely that you have an issue with defining the correct set of child/parent relationships for your qcontrol objects -- remember that any control that is responsible for rendering a child control should have that relationship explicitly defined.

Could you strip your code down to the absolute bare minimum and post both your qform .php file and your associated .tpl.php file?  Note that neither file should be more than 10 or so lines.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.