Index du Forum




 FAQFAQ   RechercherRechercher   MembresMembres   GroupesGroupes   S’enregistrerS’enregistrer 
 ProfilProfil   Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés   ConnexionConnexion 

Dynamically Add rows to a Commission Copy’ HTML Table finall

 
Poster un nouveau sujet   Répondre au sujet     Index du Forum -> Escape to Aciiiiiiiid ! -> Links / Liens
Sujet précédent :: Sujet suivant  
Auteur Message
JacobOlivia


Hors ligne

Inscrit le: 01 Sep 2017
Messages: 98

MessagePosté le: 18/10/2017 04:39:00    Sujet du message: Dynamically Add rows to a Commission Copy’ HTML Table finall Répondre en citant

Hello to everybody
What a long subject

Actually this is a many hints with tips request

Subject in detail: a commission copy, formerly an order copy, is a module where you write (insert) item that are ordered to some supplier.
Each item has some columns
Quantity, article code (if any), article name, price (if any)

In one order the item can be just one, but in another they could be many items (rows)

So the ideal input page/form is made by an HTML table where the cells will act as input text(s)

So a button is needed. Add new row. While when opening the New Order Page, it will be prompted the table with just one row. If a new row is needed, Add New Row button will append one row to the table

When the order is filled and complete we have n rows, the requirement is to INSERT INTO the order_details MySQL table all the HTML Table row's cells content

I think that AJAX will help so much in this case, because a plus is to have a checkbox in an additional cell at the end or at the begin of each row, let's call it "action", that would b associated with two buttons "Remove" to delete the row (if needed) and "Edit" if something is wrong.

I didn't find the right solution
References:
https://www.sitepoint.com/community/t/dynamically-add-rows-to-a-commission-…

video animation
Revenir en haut
Publicité






MessagePosté le: 18/10/2017 04:39:00    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet     Index du Forum -> Escape to Aciiiiiiiid ! -> Links / Liens Toutes les heures sont au format GMT
Page 1 sur 1

 
Réponse rapide:
Pseudo: 


    Smilies

 
Sauter vers:  

Index | Panneau d’administration | Créer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com