Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nagh on Sep 30, 2008 09:07
open dhtmlx forum
[RA] radio button - onclick problem

Hello, I have few complex grids alltogether on one page.

It seems thats there is something wrong with RA cell type.

Somewhere it works just fine, somewhere it produce error like "this.parentNode.obj" is null or not object, generated by onclick event:

    this.setCValue("<img src='"+this.grid.imgURL+"radio_chk"+val+".gif' onclick='this.parentNode.obj.changeState()'>",
        this.cell.chstate);

However if I change radio button state on this cell by pressing "space" - error goes away from this particular cell.

Is there any tips to avoid such things to occur?

Thanks.
Answer posted by Support on Oct 01, 2008 02:58
If error still occurs for you - please provide any kind of sample where it can be reconstructe ( unfortunately , we not able to reconstruct the same problem locally )

The patch, attached to the post, may resolve issue - please try to use it.
Attachments (1)
ra.zip857.00 B
Answer posted by Nagh on Oct 01, 2008 04:26
Yes, thank you.
This patch did the trick, error doesn't appear anymore.