Telerik Silverlight: RowEditEnded does not fire when edit inline on Grid that only has one row - telerik-grid

RowEditEnded does not fire when edit inline on Grid that only has one row.
If Grid has more than one row, when I edit inline a row, I can click on another row and this event will fire. In this event, I will implement saving function.
But if Grid has only one row, I click to the empty space below but Grid still know I select the old row and this event does not fire.
(Hit Enter always affect, but some users don't know this way)
How to fix this issue?
Thanks.

Telerik reply : user should press the Enter key or the Tab key to the end of the editable cells on the same row.
http://www.telerik.com/forums/roweditended-does-not-fire-when-edit-inline-on-grid-that-only-has-one-row#9XFK1ifa1kSvUUjH-rWa6w

Related

How I can implement Mouse Release event on QTableWidget in PyQt5 after clicking then selecting multiple rows by dragging mouse?

I have a table with task IDs and some more columns. My task is to return all the IDs of selected rows after mouse click and drag has been finished with mouse release. In the original documentation's QTableWidget's SIGNALS section I found only "Clicked" signal, which works but only for one row - when I'm clicking on one row, it's works after mouse release, but when I'm click and drag (to select multiple rows) it's not emitting signal after mouse release.
I'm in Python3, please describe there if possible.
Thank you very much !

(Acumatica) New row button on grid not working

I created a custom screen in Acumatica. I have a simple table and a grid to add records to it. The Account Mapping grid works (and it is way more complicated). But on the Branch Mapping grid, when I click the “PLUS” icon, the icon goes grey and no new row is available on the grid.
This is what is looks like after clicking the PLUS icon:
The table is very simple.
When a Company is selected, the view for the grid is
public SelectFrom<ICSBranchMapping>
.Where<ICSBranchMapping.organizationID
.IsEqual<ICSSetup.organizationID.FromCurrent>>.View BranchMapping;
The ICSSetup table is even simpler:
If I create a new record in ICSSetup, it lets me add 1 row to the ICSBranchMapping table
But I cannot add another row.
Here is the DAC for the ICSBranchMapping table
The records in the DB all look fine after adding the 1 row it will allow me to enter.
The action button is a dummy. The code has been commented out to ensure it has nothing to do with the issue.
I forgot to mention, I CAN update the existing row.
I’ve been fighting with this for 2 days. If anyone has any suggestions, please help.
Solved.  I added the BranchMapping grid using the customization editor.
It did not include this line in the aspx:
That fixed it.  It seems like that should be a default in the Screen Editor.

Kendo UI For Angular2 - Grid Row Select

I have a working <kendo-grid> component with 10 visible rows over a data set of 34 rows (approx 4 pages). Sorting and selecting is working as expected.
<kendo-grid [data]="gridView"
[pageSize]="pageSize"
[skip]="skip"
[pageable]="true"
[height]="300"
(pageChange)="pageChange($event)"
[sortable]="{ mode: 'single' }"
[sort]="sort"
[selectable]="true"
(sortChange)="sortChange($event)"
(selectionChange)="selectionChange($event)">
Say I select second row. Then I sort the table and the selection stays on row two but of course it's highlighting a different record. It's always selecting the second row on the grid, which of course, it's what I want.
How do I clear the selected row in my (sortChange) event so at least the user isn't presented with a different selection that they one they already chose. I am open to some kind of data binding attribute for selected row that I could set to null or some property on gridView or even poking around inside #ViewChild .
Any help would be appreciated.
Normal Sort
Ascending Sort
Descending Sort
I had a similar question here: Select grid row item from code
Basically, you also need to select the grid row item from code without user interaction and this is currently not supported in the current beta build of the Kendo UI Angular2 controls.
In my application, I resort to triggering a click event on the row I want to select. :/
I do this in a case where I have 'up' and 'down' buttons to rearrange the grid and want to maintain my selection when I switch items.
var grid = document.getElementById('myGrid');
var rows = grid.getElementsByTagName('tr');
rows[idx].click(); // add one to the desired row index to skip the header row
Here's a (sloppy, minimal) Plunkr of this scenario: http://plnkr.co/edit/09dlqdl0Xchoy0e5zKRq

Reading data of selected row in grid

With button click if I am using PXAdapter I am able to read the main master data but it is not reading of the selected grid. For Example, in the Case screen if I want to get the data of selected row in Activities tab, how can I achieve that. Any suggestions?
With below code you can get the currently selected row from the grid
Base.Activities.Current

How to mark a multiple selection on a DataGrid control?

I've got a custom control based on a Datagrid. What I want to achieve is doing multiple selection of rows and then right click on the row selector to open a context menu.
What actually happens: Selection of multiple rows works fine until the user right clicks on the row selector. Once that is done, there is only one selected row the one over which the right mouse button was clicked.
What I need to happen: Allow the user to do a multiple selection (rows have a style for selection) and right click to open the context menu without loosing the previous selection.
What do I need to do?
No it doesn't happen like that at all. Make sure that you have DataGridView MultiSelect property set to TRUE. Then assign your ContextMenustrip control to the datagrid's ContextMenuStrip property.
That should do the work and multiple selection should remain on right mouse click as well unless in your code behind somewhere you are altering that.
In which case, you will have to debug and find out where and how.
Just revisited the code and found that I was not updating the SelectedItems IList:
Dispatcher.BeginInvoke(new Action(delegate
{
foreach (var item in e.RemovedItems)
{
SelectedItems.Add(item);
}
SelectedItemsList.Add(SelectedItem);
}), System.Windows.Threading.DispatcherPriority.ContextIdle, null);

Resources