Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2350
igGrid - LoadOnDemand with RowEditDialog
posted

Hello,

We currently have many grids use a RowEditDialog for editing/adding records. Foreign keys for these grids are converted into combo boxes and are linked to a remote data source using the DataSourceUrl. When the RowEditDialog is loaded in edit mode, we do have some custom code that sets the initial value of the comboboxes to what's in the grid because this is not getting loaded automatically for some reason (i've attached the custom code we are using to do this). This all works fine; however, when we try to implement LoadOnDemand with our comboboxes, the values are not getting set properly. This happens when the currently selected value is not in the first page. We would like to use LoadOnDemand as some of our foreign keys can have up to 100k rows.

Do you have a recommended way for accomplishing this? Is there a way to page to the currently selected value so that we can set the initial combo value?

Thanks,

Paul