Extjs 4 grid customization after clicking on a row add a panel with a textfield - extjs4.1

I am new to extjs 4 and I have got a problem to customize the grid panel. My application have JSON data to render in a grid. After populate the data when user click on a particular row he need to get an panel (Just like row editing plugin) of a textfield and a button to send the entered text to server through the controller. This data that user entered is not the data of grid column.
I need to know is it possible? And if it is, then how can I make it.
Thanks in advance.

Sure it is possible. First look at the following example from the Extjs 4.1 docs
All you need is to add your listener to itemclick grid event. Within this listener function you can create panel you need.

Related

Show only edit form in Laravel-admin

I'm working on a Laravel-admin project with Laravel9 and I have an edit form that fetches a single piece of data from the DB and updates it.
Therefore, I don't want to have a grid panel or create form.
Is there any way to remove the grid panel and create form and show only the edit form when people visit the page?
I'm a newbie and I don't know much about it.
Any advise would be appreciated.
1.Changed the path to this but showed grid panel:
http://localhots/admin/management/1/edit
2.Tried to put $form in $grid, grid panel didn't show up but a create form with create button was displayed.

Extjs 4 Can we have Grid with Combo always on i.e. without clicking on cell and in Editor show combo

I am using Extjs 4.1.1
I want to show combo always in Grids perticular cell.
i.e. not on click editor will get on and show combo.
When page get's load always show with Grid with one cell with combo.
earlier I have used, "itscomponentcolumn" for this, want to know is there any other solution for this ?
I will explain with the help of images..
on page load we get Grid something like this.
and after cell click we get Grid with that particular cell with combo.i.e.
So I want, without click on cell always show combo on each cell of the "Light" Grid's column.
i.e on page load structure of Grid should be like
I hope I am able to explain my requirement.
Please suggest the possible way to achieve this.

displayfield and textfield change

I have created a window which has a grid and a form that displays values in plain displayfields of the records in the grid when clicked on.
There is an "New" button for the form and once clicked by the user, the displayfields should switch to textfields which should allow you to enter a new record into a database.
Can anybody point me towards a certain direction in order to do this? I am a complete newbie to ExtJS and only just started learning ExtJS4.
Thank you in advance.
I would suggest looking into the row editing plugin.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.plugin.RowEditing
You will need to add that to the plugins config item on the grid, then add editor configs to each of the columns that you want to edit. The editor config is generally just a xtype and config options for one of the components found in Ext.form.field.*.

Closing an XAML form

I am creating a windows 8 store application using vs2012.
I am tying to switch to another xaml form by click of a button but cannot do it.
I want the code to close or hide the current form and to switch over to new form .
Regards
If you are looking to wholesale replace the content then you can use the Frame.Navigate() method.
Frame rootFrame = Window.Current.Content as Frame;
rootFrame.Navigate(typeof(YourPageClass));
or simply
this.Frame.Navigate(typeof(YourPageClass));
remember that not every elemet has property hide or something like that. If you want to hide a grid with form or do a simillar thing you need to know the property that is responsible for visibility (in most cases it is Visibility and it is a bool).
The second thing is that you can be a newbie but if you want help make some effort and give us what you want
The third thing. If you want to change a page after click use Marc`s solution

How can I make a Wicket form save radio button state?

I want to have a repeater like DataView or ListView. The first column of each row (named User ID) should be read from a List, and for each user ID, the program should dynamically create three radio buttons like these:
Requirements:
The user must able to change selection of radio buttons.
When the user clicks the submit button, radio values be displayed using the info("") method.
I've already done this by using this example, but when I click the submit button, old selections are shown, and the form gets reset to those old selections.
This example code might be helpful.
ListView doesn't play very well with form components, but it may work if you call ListView.setReuseItems(true);.