Bulk Custom Add

QuestionsBulk Custom Add
Hafiz asked 5 years ago


Is there any way to custom bulk add rows one shot?

The function like this:

  • user click the plus button at top of grid
  • display custom form with 5 textbox with same label(id)
  • user input data then click add button
  • insert into 1 table so its like inserting 5 data simultaneously.
  • if the textbox is left empty, just ignore

Thanks in advance.

1 Answers
Abu Ghufran Staff answered 5 years ago

You can use custom add form and use JS api to add in grid via js code.

Refer demos/editing/custom-form.php

Code: https://phpgrid.org/demo/demos/editing/custom-forms.phps (line 57, 175)

Live: https://phpgrid.org/demo/demos/editing/custom-forms.php

Another demo you can check is, demos/appearance/excel-blank-rows.php. It also uses JS api to insert blank rows in excel mode.

Apologies for the delay.

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

7 + 1 =

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?