I am trying to implement an MS-Excel like functionality in SmartGwt where i can navigate through various cells in a ListGrid using keyboard and edit cells individually.
Currently it is only possible to navigate the grid at a row level, and all editable cells go into edit mode together.
We have a grid that shows stock market data with fields for price, symbol etc. The last field is a button, and users want to navigate to this button using the arrow keys and press enter to execute a buy/sell order.
Thanks for helping
Related
I have a requirement when on page load I have to display certain Itemoptions(dynamic from service) and when click on Make a Combo button display the remaining(dynamic from service)
Ex: On screen load : 7 item options and on clicking continue displaying: 3 ItemOptions
Each ItemOption has its own choices(dynamic) which can be radiobuttons, checkboxes, dropdown
For achieving this my approach is sectioned tableview
Option Name as Section Header
Choice as Row
My question is how can I achieve American Cheese header with a choice(as dropdown) beside it
I have a sheet that is shared with quite a few people. They are supposed to fill in 5 cells, click the script button and it will insert the text below and sort it by date.
I created the script and assigned it to the button for this.
I need to protect the entire sheet except the 5 cells and the button.
When I add the protection nobody can click on the button. Is there a workaround?
Answer:
You can use Protected Ranges to protect the sheet from edit with the exception of pre-defined cells.
Steps:
Follow the menu item Data > Protected sheets and ranges from the Sheets User Interface.
Click on the + Add a sheet or range button in the newly-opened sidebar.
Click the Sheet tab.
Select which of the Sheets you wish to have protected.
Mark the Except certain cells check-box with a click (✓) and select in A1 notation the 5 cells you wish for users to edit. For example D1:D6.
Click Ok
Click Set permissions
Keep Restrict who can edit this range selected with Only you as the selection in the drop-down, and press Done.
This is enough - from here anyone you share the sheet with will have edit access to the specific five cells you specified in the exception rule. The button is also clickable as long as the user has authenticated the function to run as them.
References:
Docs Editors Help - Protect, hide, and edit sheets
I want to make a dropdown list in my spreadsheet. I did it using data validation but I want to make an arrow in the cell for that list.
All the answers suggest the solution in the photo which I can't find it in my spreadsheet at all.
right click on a cell, row, column or range
click on the last option - Data validation
window opens which will look like your picture
I use SmartGwt Listgrid to show a list of objects, each object contains many subobjects. So when I click on a specific row, I show a popup that allows me to update this subobject's list.
The second constraint is to allow the user to select many rows, to be merged into one row. For that I use checkbox selection type like the following code :
myListGrid.setSelectionType(SelectionStyle.SIMPLE);
myListGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
All work perfectly for the first load. The problem is when I show / hide the popup, the select/deselect feature of the Listgrid stops functioning. Once the checkbox is clicked, it remains unchanged.
Thank you for your suggestions.
I answering my own question,
After many hours of investigation, the problem is that I mix listGrid of smartGwt and dialogBog of GWT, when I changed DialogBox with Dialog of smartGwt the problem is solved
I understand that the layout in Orbeon Forms is grid-based, but even inside a grid of let's say 10 rows and 5 columns, If I happen to want to shift the 8th row to the 3rd row using the Visual Form Builder, how would I do that?
In general, is it possible to reorder the fields or sections within the Orbeon Designer using the MOUSE?
Currently you cannot reorder grid rows or columns, with or without a mouse (if by that you mean using drag-and-drop. But it's a great suggestion for the Orbeon Forms authors.
At this point, what you can do is this:
insert a new empty row
using the toolbox, "cut" the first control you want to move
using the toolbox, "paste" into the first cell of the new row
repeat the last 2 steps
It's painful but it will work.
Or, you can move the row directly within the source of the form, by moving the in the grid to the new place.
Note that while drag-and-drop would be great, it's not actually strictly needed: buttons and keyboard shortcuts can get you there too.