I'am designing an application in Extjs4.2 where one grid is there with cellediting plugin. My requirement is on cell click combobox should be displayed. When no data there for combobox in chrome its fine but in FF the element is displaying.
For a better clarity am attaching the screenshot below
Any help is highly appreciated
Thanks in Advance
This might happen, when you didn't specify this columns's dataIndex field in model. Also you need to initialize that field with some value, at least empty string.
Related
I am trying to implement the 'Sum' feature on a grid panel. The fields that are to be summed are calculated dynamically. I tried setting the record inside the renderer. It seems to be working but i see this exception in developer tools.
Cannot read property 'attributes' of null
Reason i think the underlying record is not changed even though the renderer changes the display with its return.
Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/2d2r
Line: 192
To reproduce, please click "increase" in the "Increase or Decrease" dropdown.
Thank you!
I'm using magnolia cms and I created a customized combobox with com.vaadin.ui.CustomField and it saves values in jcr, but when I try edit a node in my app, the value previously saved dont displayed. Someone has any hints why this happens and how can i solve it?
thank you all in advance
Mário
If you have created it by extending Magnolia's SelectFieldFactory you probably need to extend info.magnolia.ui.form.field.factory.SelectFieldFactory#createDefaultValue(Property<?> dataSource) method.
If you have created your field by other means, most likely you need to look somewhere between your datasource and place where you initialize the field and fill it with values.
If data doesn't fit the cell, usually ui-grid displays dots to tell that there are more data available which can be seen on expanding the column.
But when I use the cellTemplate, it doesn't displays dots even if data doesn't fit. Please see attached screenshot for more information.
Can anyone please help me to how fix this problem.
Are you using class="ui-grid-cell-contents" in your template?
I'd like to expose the settings of my app to the user in a tree view. There should not be a problem to display. The setting and its value can be displayed as a text node.
Now comes the hard part. I'd like the settings to be editable. When I click on a setting, I want it to be editable, with different fields :
Display a checkbox
Display a textfield to change the value
Display a combobox with valid values
Is there a possiblity to achieve something similar, or do I imagine the impossible here ?
I saw an example which checkboxes, but I'm not sure if it is possible to mix fields.
I'm not asking for code, I just liked to know if someone already tried something similar.
That's exactly what Ext.grid.property.Grid does (minus the checkbox). Since a tree is a gridpanel with a special column, you should be able to mix the two. I would start by porting the propertygrid.
I never tried the the combobox-part, but everything else is definitely possible
All the fields are editable with with the celledit plugin
Hope this helps and I understood your question correctly
I'm using dijit combobox for populating a JSON List. Also I'm using ItemFileReadStore for getting the JSON data from the server. Once the data is downloaded, when I click on the combobox it shows all the data. But I don't want the user to see all the data. The user should see the list only when he types something. I tried using queryExpr parameter-${0}*. But at that time the list is not populated.Can someone please help me to fix it?
Any help will be greatly appreciated
Thanks,
Apps
The following snippet, largely inspired from the Dojo ComboBox example works does not "show all the data" with Dojo verion 1.3.0 (17136).
<input dojoType="dijit.form.ComboBox"
store="stateStore"
searchAttr="name"
name="state2"
onChange="setVal2" />
I played a bit with the comboBox properties (autoComplete, hasDownArrow ...) and couldn't reproduce the described behavior. Could you post a minimal example?