View Full Version : Pass Parameter to View to hide Components

26 Jan 2016, 10:30 AM

In the Below Fiddle ,Add Stuff to Center-->Add Form->View
On clicking on the view Button, i need to display the same from in the center region when i click on ass button,but all the fields should be only readable,and the docked items should be removed.
Please help me in achieving this
Thanks in advance.


Gary Schlosberg
26 Jan 2016, 1:42 PM
I'm having a bit of trouble understanding. You want the combos in the form to be disabled and the docked Save button remove?

26 Jan 2016, 6:32 PM
Looks like you are calling the same function on "View" as you did on "Add" . All you need to do is write a separate function for view that would just collapse the west region and hide the "Save" button.

28 Jan 2016, 10:03 AM
Thanks for the Reply.
in the same fiddle , i need to pass the data from grid to other View.how can i do it
Can you please help me with the same.
Thanks in advance

28 Jan 2016, 3:07 PM
What have you tried so far?

28 Jan 2016, 9:28 PM
I am new to this MVC Architecture.I am not sure how to do this.
Can you please help me with some sample Snippet Code.
Thanks in Advance

29 Jan 2016, 4:54 AM
Take a look at this: