I changed to the new CJGrid class and it worked.

Thanks for your help