Editing JqxComboBox inside JqxGrid issue - jqxgrid

How do I edit(add new) item in jqxComboBox inside jqxGrid.
Currently when I add new item in it, its getting blank.

Related

Drag and Drop: by using copyArrayItem() the dragged item should not be removed from start array while drop Angular 8

I have a list of items from where I drag an item and drop it into another list. I'm using copyArrayItem() method from Angular to not remove the item from the previous array.
I start dragging, the item is within the previous array: the placeholder from that item shows up.
Start dragging, placeholder shows up
I'm leaving the previous array: the placeholder/dragged item disappears (I want that the placeholder/dragged item stays) -> the start array has minus 1 items.
Placeholder disappears, what I don't want
I'm on the target array: a placeholder appears in a target array.
I'm dropping the item: item appears now in the start and target array.
After more research I've found an open issue about that problem:
https://github.com/angular/components/issues/13906
and there I've found suggestions from participants:
https://stackblitz.com/edit/angular-krmecd?file=src%2Fapp%2Fapp.component.ts
This example with workaround helped me to solve this problem:
https://stackblitz.com/edit/angular-o8exzv-jauhhi?file=src%2Fapp%2Fcdk-drag-drop-connected-sorting-example.html
Maybe this information will be useful for someone.

How to remove an item from a paper-listbox?

I can add an item to a paper-listbox with
Polymer.dom($['mylistbox']).append(paperItem);
However I'm having trouble deleting it from the list afterwards. I tried:
paperItem.remove();
That initially makes it dissapear, but it appears again after selecting another item in the list. How do I remove a paper-item from a listbox?
Polymer.dom($['mylistbox']).removeChild(paperItem);

cxgrid's memo field keeps inserting new line

In cxGrid I have a field with properties of a memo. The field column Properties.EditAutoHeight is set to ieahDefault.
The view DBTableView1 has following:
OptionsView.CellAutoHeight = True
OptionsBehavior.EditAutoHeight=eahRow
However when I try and add some text to
data already in that field (directly editing in the grid), the edited line jumps one line down as if I am going to enter the new text in a new line.It behaves just like as if I pressed enter to go down to new line.
Is there a setting in the grid that prevents this 'new line' behavior when I try and edit the record?

tagcompletion like stackoverflow

Working example
Bug
add an item that exists in the list
add an item that doesn't exist in the list
add an item that exists in the list by clicking arrow key or clicking an item with mouse
notice that all items are erased and everything starts over.
I am building this on top of a solution provided to me in another question. I've taken the code from that example and modified to my needs. however, now I am having the issue stated above.
What can I do to avoid having the list erase all items when a new item is added by clicking down arrow key after a non existent item is added.
Add the following to the options object you pass the autocomplete widget:
focus: function() { return false; }
From the docs on focus:
Canceling this event prevents the
value from being updated, but does not
prevent the menu item from being
focused.
Here's your example without the bug: http://jsbin.com/oquda3/4

DBLookupComboBox and Refreshing of Contents

I have Delphi 7 and I'm using NexusDB for the database.
I have a main form where I have a DBLookupComboBox to list the contents of a Table.
If I press a button I have on the form to add a new item to the list (which opens a 2nd dialog box) and then come back to the main form I want the newly added item to show up immediately
I can't seem to get that to work.
I've tried refreshing the DataSet under the ListSource object.
Anyone have any ideas?
Thanks,
David
DBLookupComboBox1.ListSource.DataSet.Close;
DBLookupComboBox1.ListSource.DataSet.Open;

Resources