Bulk Edit Records

Bulk Edit Records

michaelosolinskimichaelosolinski Posts: 12Questions: 0Answers: 0
edited February 2014 in General
Is it possible to select multiple records and then bulk edit a field and have that value update for all fields? I know that it is possible in the oTableTools params to switch between single and multi selection but this only seems to apply to the delete action?

If it helps make my requirement clearer, here is an example scenario:

I have a table containing multiple vehicles with varying holding costs depending on which tariff they are associated with. Each vehicle belongs to a group, for example, "CP3" What I would like to be able to do, ideally using the search box as an initial filter is find all the vehicles in the "CP3" group select them and change the holding cost for all of them at once.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Currently no - I am however looking at enabling exactly this for 1.3 which I'm working on just now.

    At the moment the best that can be done with the current libraries is to use the API to edit each row in turn. The effect would be the same, but it would be a fairly slow process since an Ajax request would be needed for every row.

    Allan
  • michaelosolinskimichaelosolinski Posts: 12Questions: 0Answers: 0
    Ah ok no worries, not the end of the world for now :)

    One other quick question. Is there currently a file upload ability where I would be able to upload an image and have it's path stored in a field? I've seen some discussion on this in the forums from last year but from what I could gather you are also waiting until 1.3 to launch this?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Heh yes - I'm afraid that also is something that I'm planning on for 1.3. It would be possible to create a file upload option using a plug-in field type at the moment, but I don't have any pre-built code that I can send out just now with that ability.

    Allan
This discussion has been closed.