Anatoliy
Anatoliy

Reputation: 321

Delay while using dataUrl

I use the dataUrl option to fill the select list and I noticed a delay in loading of selectlist options. You can see the problem here http://jqgrid-multiselect.heroku.com/ I am wondering whether it is "normal" or not?

UPDATE: For a second I have the form like this: first view

and then

second view

it looks not very good, if the edit form "jumps" like this. The width of the select list changes too.

Upvotes: 1

Views: 287

Answers (1)

Anatoliy
Anatoliy

Reputation: 321

The problem can be solved by ajaxSelectOptions:{async:false}. More details can be found here How to get row id or parameter from dataurl in jqgrid to create a dynamic select list to edit row

Upvotes: 1

Related Questions