Hi,
I'm using a List control with a Formview control as the detail view. I'm populating the list control with data from a client-side data cache using the method, "setListColumnsAndPopulate".
I have configured a Formview control as the detail view on the List control. I have configured the data source in the List control as static and entered only the column headings as I need to do this so I can configure the Formview control.
This seems to be working fine for the data I populate into the List control. I can click on a row in the List control, and the detail view (Formview control) is rendered with the data in the correct fields.
However, if I try to create a new record, a blank new record appears (in the Formview control), but when I try to edit any of the fields, I get this error:
"Unable to get property '*renderIndex' of undefined or null reference".
I suspect the Formview control is not connecting properly with the data source in the List control. I've gone through all the related videos to do with client side data cache and list controls, but none of them seem to cover how to implement a detail view on the list control under the scenario of programatically populating the data in the list control. (previously I had this working using sql as the data source, but since my app needs to work off line, I'm switching to the client side data cache as the data source).
Has anyone ever set this up ? Am I approaching this the right way? Any help appreciated.
Thanks,
Greg
I'm using a List control with a Formview control as the detail view. I'm populating the list control with data from a client-side data cache using the method, "setListColumnsAndPopulate".
I have configured a Formview control as the detail view on the List control. I have configured the data source in the List control as static and entered only the column headings as I need to do this so I can configure the Formview control.
This seems to be working fine for the data I populate into the List control. I can click on a row in the List control, and the detail view (Formview control) is rendered with the data in the correct fields.
However, if I try to create a new record, a blank new record appears (in the Formview control), but when I try to edit any of the fields, I get this error:
"Unable to get property '*renderIndex' of undefined or null reference".
I suspect the Formview control is not connecting properly with the data source in the List control. I've gone through all the related videos to do with client side data cache and list controls, but none of them seem to cover how to implement a detail view on the list control under the scenario of programatically populating the data in the list control. (previously I had this working using sql as the data source, but since my app needs to work off line, I'm switching to the client side data cache as the data source).
Has anyone ever set this up ? Am I approaching this the right way? Any help appreciated.
Thanks,
Greg
Comment