Questions tagged [editmode]

103 questions
0
votes
0 answers

editMode not working in case of .sheet or .fullScreenCover but with NavigationLink

I'm trying to enable editMode, i.e to come from here: to here : with the following code: struct DetailSheet: View { @State private var items: [Item] = (0..<5).map { Item(title: "Item #\($0)") } var body: some View { NavigationView { // this…
Red
  • 1,425
  • 1
  • 10
  • 15
0
votes
1 answer

How can I show only selected items in SwiftUI List?

How can I make a List show a set of selected items when editMode is .inactive and all selectable options when editMode is .active so the user can change the set of selected items? Here is what I have tried: import SwiftUI struct SelectionView: View…
Melodius
  • 2,505
  • 3
  • 22
  • 37
0
votes
0 answers

In DataGridView, how to remain in EditMode if validation fails?

I have browsed this and other sites, but not found a solution. Any tips/pointers are appreciated. Use case: add a new row to a DataGridView, allow user to enter data cell by cell in this new row. When ENTER is clicked in each cell, data goes through…
Arvind
  • 93
  • 8
0
votes
1 answer

How to create a link to directly edit a SharePoint list item

I have a SharePoint online 2016 site, with a List. Now i want to have a URL (build in MS Flow) that will point directly to a specific item in Edit mode. Meaning to have this view (both list behind and right "popup" screen): And not like this (Copy…
Dimitri
  • 1,185
  • 2
  • 15
  • 37
0
votes
1 answer

Autosys job failing as the file it edits was open

I have an autosys job which logs into a windows machine and performs some tasks and logs all the working into a word file on the machine. For yesterday's run, it failed because the file in which it logs was left open by some user who logged into the…
ellen
  • 21
  • 7
0
votes
1 answer

Can't Swipe Due to editingStyleForRowAt

There seems to be an error that's impossible to avoid, but I'm hoping someone can do the impossible. In a UITableView editMode there's a lefthand delete indicator (red circle with a white line): I just want the drag / drop grip on the right, so I…
Dave G
  • 12,042
  • 7
  • 57
  • 83
0
votes
1 answer

Jqgrid custom formatter and edit mode

It appears that using a custom formatter makes the cell stuck in the edit mode and previously edited row never gets restored. JS, grid defined here $(priceListGrid).jqGrid({ datatype: 'local', url:…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
0
votes
1 answer

primefaces p:datable editMode="cell"

I have a problem with primefaces, datatable, editMode = "cell" I have a datatable, editable with editMode = "cell". If I modify a cell and I immediately click on the "validate" button (without leaving the cell), the button does not work and the cell…
0
votes
1 answer

UltraGrid Edit Mode Is Not Being Entered

I asked a similar question (Well, indentical, in honesty) back in September, but the solution to that issue is, for some reason, not working in my latest incident... My UltraGrid is being used now to enter the date of payment for each line in the…
David
  • 2,298
  • 6
  • 22
  • 56
0
votes
1 answer

UITableView left-side multiple selection selected cell color

As a UITableView is allowsMultipleSelectionDuringEditing = true, the default selection style is a light-blue look on a selected cell: I set the cell contentView.backgroundColor = .whiteColor() when the cell got highlighted/ selected, consequently…
bluenowhere
  • 2,683
  • 5
  • 24
  • 37
0
votes
1 answer

jqgrid does not fire when the ENTER key gets pressed

I need to trap when the user presses ENTER in edit mode and this code works every time any other key gets pressed but not ENTER. Any ideas why? maybe there is an automatic setting that needs to be set to false? $(dispgrid).jqGrid({ url:…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
0
votes
0 answers

passing rowid inside editoptions dataUrl in jqgrid

Code editoptions: { dataUrl: 'LegalEntitiesAjax/GetMyData', postData: function (rowid) { return { myVar: rowid } }, I need to pass the rowid to GetMyData action, and unfortunately, myVar is null when…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
0
votes
1 answer

jqgrid cascading dropdown lists in pop up edit mode

I have two drop down lists, the first one gets populated from the database values and the second one(PriceCode) depends on what the user selects in the first one(CurrCd). My question is how do I populate that second list dynamically? I am trying to…
sarsnake
  • 26,667
  • 58
  • 180
  • 286
0
votes
1 answer

While in edit mode, advance to next cell and stay in edit mode for VB.NET DataGridView?

I have a DataGridView in which one column has data that the user needs to align by adding spaces. For example, the first two rows might contain: kumbu kuimbiu And the user needs to be able to line up the letters that match by adding spaces. …
davidscolgan
  • 7,508
  • 9
  • 59
  • 78
0
votes
1 answer

Is it possible to use EditForm in a .Net GridView?

I would like to have a form when editing a GridView such as RadControls o DevExpress controls instead of In-Row edit mode, is that possible? Framework 4 C#
Jamo
  • 494
  • 5
  • 24