Jump to content


Photo

Datagrid suggestion



  • Please log in to reply
3 replies to this topic

#1 Klyx99

Klyx99
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 14 February 2017 - 02:12 AM

I thought it would be more useful to move my biz app to the web, so I can work on it on the go. Everything went well! The only section I am stuck on is a page where I need to put in products and services.

qty, desc, cost, total, then sub totals (labor,tax etc.)

 

I've searched the net for  some ideas, and most were overkill, others were too confusing. it is just one page I need.  currently I just set up a table with JS but that seems to be more work than needed. Needs to adjust on the fly, ergo why I am using JS with the table. But my code seems to be more complex than needed, as it seems I am looking for a spreadsheet style.

if i put "1" qty column I want the total to reflect it with the cost, and the totals as well. but the way I am going at it, is horrible (mostly because It needs to be JS, and I am not that fluent in it)

 

anyone run across this, and how I might implement something of this nature - doesn't even have to be a table. I only enter at most 2 - 5 items at any given time. Do not want to use jquery if I do not need to. The page I currently have is a huge mess as I have been working on it forever LOL. Just cant get it to work.

 

don't need code, just shoot me with some ideas, I'll scratch my head from there.



#2 benanamen

benanamen
  • Members
  • PipPipPip
  • Master Coder
  • 1,396 posts

Posted 14 February 2017 - 02:31 AM   Best Answer

You mean something like this?

 

https://css-tricks.c...namicOrderForm/


To save time, let's just assume I am never wrong.

The XY Problem
The XY problem is asking about your attempted solution (X) rather than your actual problem (Y). This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.


Make A Donation https://www.paypal.me/KevinRubio

 

"This text has been encoded with ROT26. If you can read this you must have found a backdoor. Congratulations!"


#3 Klyx99

Klyx99
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 14 February 2017 - 05:21 AM

You mean something like this?

 

https://css-tricks.c...namicOrderForm/

hi, not sure - page will not load



#4 Klyx99

Klyx99
  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 14 February 2017 - 03:17 PM

ok working now.. looks like pretty much what I was looking for. I'll skim over it and use it as a model. need some changes (unit price needs to be dynamic instead of static but the rest looks about right)

 

thank you very much






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users