Virtual select from other key to insert in grid

QuestionsVirtual select from other key to insert in grid
C3media asked 2 years ago

Hello,

I'ts possible to insert data from select data taken from table (Companies) into main grid table (clients)?

2 Answers
Abu Ghufran answered 2 years ago

Hi,

You can do it with php code in on_insert callback function.
Refer http://phpgrid.org/docs > grid events

Abu Ghufran answered 2 years ago

And if you need lookup dropdown, refer demos/appearance/dropdown.php code.

Your Answer

17 + 10 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!