Many date time fields in the same grid

QuestionsMany date time fields in the same grid
Romildo asked 9 years ago

Hello,

I'm having difficulty using more than one datetimepicker on the edit form.

When there are several datetimepicker the form by clicking on the second or third to bring up the calendar and choose the date, it behaves strangely and the cursor goes to the first datetimepicker, not changing any of the dates.

I need the form to be modal.

Any idea how to fix this?

1 Answers
Abu Ghufran answered 9 years ago

There seems to be some conflict in datepicker and jqgrid, when multiple datepickers are used.
It only works when we disable modal dialog.
$grid["edit_options"]["modal"] = false;
$g->set_options($grid);

Ref:http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-edit-dialog-with-jqmodal-false-and-modal-true-datpicker-month-drop-down-issue

Your Answer

14 + 14 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?