Tables

PPLdude

Expert Member
Joined
Oct 3, 2011
Messages
1,716
Reaction score
663
Location
South
Hey guys,

So I want to do something with tables (Web based)

I was thinking of learning JS and using datatables or tabulator.

The main features I need is front-end editing.

Let's use cars as an example.

User logins in and creates a new "sheet".

User adds a new entry. User selects car manufacturer. Based on this selection, user can now select the actual car (VW -> Polo 1.4 | Polo 1.6 | etc).

Now the rest of the table data is populated automatically (kW, mpg, etc) depending on the data that was chosen.

At the bottom of the cells or somewhere on the page, I need to be able to do calculations.

For example, I have selected 3 cars. The total of kW would need to be added, etc.


I was looking at WPdatatables, but I can't seem to get it exactly how I want it.

Has anyone done something like this before? What stack did you use? Or was there a framework (datatables, tabulator) that you used?

I quickly slapped a design together to illustrate what I mean.

Adding rows could perhaps be in-line editing with a cascading selection. The most important is the core functionality.

Any guidance would be appreciated

table_gen.png

table_gen_add.png
 
To be honest I would not use any table controls and just roll my own using Angular, React or even vanilla JS.
 
Top
Sign up to the MyBroadband newsletter
X