Bulk Custom Add

QuestionsBulk Custom Add
Hafiz asked 11 months 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 11 months 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
PHP Grid Framework
Your Answer

5 + 11 =

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

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

Let us improve this post!