Grid with two fields date format update only on one of the two

QuestionsGrid with two fields date format update only on one of the two
Jeroen V asked 12 years ago

hello,
I want to use multiple date fields in one grid with a specific date format.
I can do this without any problem but if I make the fields editable, one of the two date fields is empty after the update, this is only a problem with the two fields who have the date formatter options.

Could you check this please?
Thanks in advance

7 Answers
Abu Ghufran answered 12 years ago

Hi,

There was a fix required.
I've emailed you the latest build.

Regards,

Paolo L. answered 11 years ago

i have same problem, but with three date field. The first and the second work, on the third date field isn't possible to select the date from datepicker (cursor is put on the first form field
thanks in advance

Abu Ghufran answered 11 years ago

Hello Paolo,

Can you send me code for review, or if it somewhere online, let me know the link.
You can email at [email protected]

Thanks

Laurent Morin answered 11 years ago

Hello, i have the same problem…
I want to use multiple date fields in one grid with a specific date format… but when i click on the second calendar, this focus the first date fields without fill the second one, How to fix it??

thanks in advance

Abu Ghufran answered 11 years ago

Hi Laurent,

I'm sending you update. Let me know in case of further help.
You can also email me code at gridphp@gmail for review.

edwardw answered 11 years ago

Hi Abu
I'm having a problem with multiple datepickers on the same page. It works fine with one date picker but I get strange results with more than one on a page.

Thanks

Abu Ghufran answered 11 years ago

Hello,

This seems to be some known issue with JQGrid lib.
http://stackoverflow.com/questions/14398630/jqgrid-multiple-datepickers-and-autofocus

Solution would be to disable modal behavior in dialogs.

$grid["add_options"]["modal"] = false;
$grid["edit_options"]["modal"] = false;

$g->set_options($grid);

Your Answer

10 + 8 =

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?