Avatar of dotnetcode
dotnetcode
 asked on

ASP.NET MVC and JQuery : How to show the JQuery Grid in Edit replaced by dropdowns, textboxes etc

Hi All,

I am using the ASP.NET MVC and JQuery Grid to show the data on a grid as shown on Screenshot1 but I want to have a "Edit" button outside the JQuery grid, so when I click this "Edit" button, I would like to present the JQuery Grid in edit mode to replace all the grid rows for certain columns say "Budget Status" by a dropdown values of "Allocated, Obligated and Invoiced" and "Budget Amount" by a textbox, as shown in Screenshot 2.

Please provide me with the probably solutions. Thanks so much,
Screenshot1.png
Screenshot2.png
ASP.NETjQueryAJAX

Avatar of undefined
Last Comment
dotnetcode

8/22/2022 - Mon
guru_sami

I haven't use the jqueryGrid so just throwing out an idea here.
On Edit click hide the readonly fields and show editable fields. You can add some class to those fields if necessary to identify that easily. Keep a variable to track the view if necessary.
dotnetcode

ASKER
Thanks for your comments, however, could somebody provide me with few more probable solutions or throw some specific code samples where I can play around little bit more.

Thanks!
dotnetcode

ASKER
I am fairly new to using jQuery grid, but my project is already using lot of JQuery grids for displaying data on the grid.

Right now, I am looking for some dynamic popup that should get open up on click of any row of JQuery Grid rows. The popup contains 3 fields such as one textbox "Budget Amount", One dropdown "Quantity" and another dropdown for "Budget Status" and also this popup would contain the button "Save Changes". After we make changes on these fields of popup, user clicks on "Save Changes" button, then these updates are posted to the server. This is my requirement.
Please provide me with some possible solutions as this is really important and in need of urgent solutions.

Thanks so much,
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
guru_sami

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
dotnetcode

ASKER
Thanks for providing probable solutions for this. Posting some other question as a New Question. For now, I am ok with this. Thanks so much,