Click here to Skip to main content
15,744,010 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Greetings for all you experts.
I'm using an options field type to retrieve a table records, json return data OK but doesn't show on page and get this error:
Uncaught TypeError: Cannot read property 'length' of undefined
I will appreciate your help.
thanks in advance.

Code on the client side:
id_establecimientos: {
    title: 'Código establecimiento',
    create: true,
    edit: false,
    list: false,
    width: '03%',
    options: 'dbInterfaces/EstabActions.php?action=list'
Sergey Alexandrovich Kryukov 13-May-12 12:48pm    
No, this is not the code where you have a problem. Isn't that obvious? It should at least contain the property 'length'. It makes no or little sense in answering: if you fail to see that you are not providing relevant information to your problem (very simple: do not try to work with undefined object), how anyone hope that you could use help?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900