sencha modern list item swipe item bug - extjs

I'm trying to provide swipe actions in Sencha Modern list in version 7.2.0.
Although the documentation indicates that the text, ui, iconcls and cls are bindable, I'm unable to get it to work.
Further, the text seems to be getting bound without any bind configuration which is even more surprising.
Please see relevant fiddle
Essentially, I would like to make the iconCls and the cls change based on the record's data.
Thanks

There is definitely an issue here. The text does not seem to be handled as a bind. If the text field exists it is used..... so I did a quick override that treats the ui field similarly. if it exists it is using it. You can do the same with the iconCls... etc.
Swipper override fiddle

Related

AngularChosen change the single select input to be like the multiple select

I hope someone can help me with this. I'm using angular-chosen and I'm really happy with it, but I want to remove the button type select box with the single select, into the text type box that's used with the multiple select, an example here.
I tried using a different module, acute-select, because the combo mode was exactly what I wanted, but the module is still too incomplete and I can't use it.
Does anyone know how I can achieve this using the chosen directive, or is there maybe another, working, module?
I ended up forking acute-select in order to make something that suited my needs. I removed most of the other features and only kept the combo-box.
It's tailored to be used in a bootstrap dropdown in a bootstrap nav-bar.
You can view the demo and source here.

Select2 - multiple selection custom format selection

I'm using select2 in my angular web application, and i'm trying to achieve
a custom format selection for multiple selection mode, that as far as i know
is not supported by select2.
by default select2 in multiple selection mode, just puts in selection area all the selections side by side and when there is not enough space the selection area height is getting bigger.
what I'm trying to achieve is something like this:
"item1, item2, item3..." ("..." appears when there is not enough.)
I hope someone will suggest a reasonable solution for my needs,
Thanks,
Nadav.
as shown here: https://github.com/angular-ui/ui-select2 this directive is deprecated; there is a new directive here: https://github.com/angular-ui/ui-select, which appears to support multiple selections. Having said that, your question is not entirely clear and perhaps some more information would enable a better answer.

How to disable single combobox item in Codename One?

I went through API and docs and haven't found a way to disable single item in ComboBox. Is there any way to do this or it's unsupported feature?
You can make an item appear disabled but handling the action (or really not handling it) is up to you.
You can override the renderer to make the combo box appear like anything you want.

iAd Producer checkbox radio buttons?

I'm new to iAd Producer - what I'm really looking for is a replacement for Dashcode, since Apple seems to have abandoned it. But while it looks as though iAd Producer CAN produce iBooks Author widgets, it seems to be missing a few fundamental objects - namely checkboxes and radio buttons.
I'm sure there's a way to hack HTML and perhaps use jQuery to get the job done, but this was a relatively simple, straightforward thing in Dashcode. Am I missing something? With tools like buttons, sliders, and such, I'd think checkboxes and radio buttons would be included.
Anybody know an EASY way to replicate Dashcode functionality in iAdProducer?
Thanks!
I've had the exact same problem for the last week and finally came across a solution. You can "escape" the checkboxes in a way by including an empty onclick property to the checkbox or label that you want to affect. This should override native code that relates to cut-and-paste gestures and make checkboxes unusable. I've had success with this in iBooks Widget Tester.
Funny... we seem to be working on the same issue at the same time. Closest I've got to a solution is to build in iAd Producer using the HTML template. There you can add in the objects that are missing using HTML code while also adding drag and drop objects available in the software.
However, while I can populate my view with checkboxes and get them to be checked in iAd Producer's preview, when I preview on my iPad, I can't check the boxes. Radio buttons remain unresponsive too.

ExtJs - Is it possible to have a tree with input fields in a leaf?

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

Resources