Is it possible to open a new page to choose a customer for field input in add or edit dialog form

QuestionsIs it possible to open a new page to choose a customer for field input in add or edit dialog form
toki asked 11 years ago

Hi

Is it possible to open a a new page with fulltext search to choose a customer for field input in add or edit dialog form instead of dropdown list.

Regards…

4 Answers
Abu Ghufran answered 11 years ago

You can use autocomplete feature to use fulltext searching in some field.
Check demo/integration/autocomplete.php

Currently, external page linking demo is not available, but it seems doable too.

toki answered 11 years ago

Abu,

Yes, It is very nice to use autocomplete feature with fulltext searching in some field. I have just started to use it.

Why I asked this question to you ; If it can be possible that if I can open Customer.php (external customers page) in edit and add dialog form , If customer does not exits in customers than I can easly add a new customer just clicking add button of customer page. And then return first page and choose new customer in related field input.

Regards…

Abu Ghufran answered 11 years ago

What i can recommend in such case is, make a custom toolbar button (refer demo/appearence/toolbar-button.php) and disable default edit option of grid.

In that custom toolbar button, you can open a modal window (demo/integration/fancy-box.php) with the URL of your new page.
I've not tested this scenario but i hope it help.

toki answered 11 years ago

Abu,

Yes, I will refer and try to use (demo/appearence/toolbar-button.php) and
(demo/integration/fancy-box.php).

Thank you.

Your Answer

13 + 12 =

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?