KnockoutJS with MVC grid with dropdown for quantity updation……

Hi,

Am working shopping cart project in MVC razor with knockoutJS.

 My scenario is an grid with dropdown. Each product will have different quantity dropdown.

 Example:

 Product : hammam soap

Quantity  (dropdown ctrl) : 1,2,3,4

 Product : rice

Quantity: 200,400,500,1000

 My problem is for all product shows same quantity . It takes last product quantity for all products. I need solution for this ASAP.

Mohan Subramanian

 My problem is for all product shows same quantity

Maybe there is same quantity. maybe is what you return from database. Maybe you have the wrong html code. Maybe… 

BUt it is better to show some code.

Please post the code where you are populating the quantity drop down values.

Leave a Reply