The documentation says that handsontable is one of cell types but the example only shows how to display it as a dropdown. Can I show a cell which has set of sub-cells inside it while preserving navigation model?
Let's say I have two cells: A1 is number, A2 is handsontable with 2*2 grid. When I am on A1 and press right, I want to go to A2(1,1). Another right click brings me to A2(2,1) and then out of A2.
Related
First things first:
If I click into a NOT editable cell in a WebDynpro grid, its parent ( the entire row ) gets selected.
For that it is properly set up in the layout painter ( row selectable = true ) .
If I click into an editable cell, nothing like this happens.
Instead the cursor prompt appears allowing me to edit the cell according to the assigned cell-editor.
But I need this selection-changed event also for editable cells.
Because, if the user chooses the F4 in that cell, there shall only be values available, which depend on another cell-value in this specific selected row.
Any clues ?
I would go this way to implement your requirement:
Make IF_FPM_GUIBB_OVS implementation directly in the grid (in the IF_FPM_GUIBB_LIST impl class)
Adjust grid to cause FPM event on each row selection
Configuration >> General settings >> "selection event type"
Store the selection in the main implementation class attribute at each selection
Read selection attribute in the IF_FPM_GUIBB_OVS~HANDLE_PHASE_0() OVS method
I have a sheet with a dropdown menu in A1, and a cell A2, with values that will be the result originated from a script.
I want a certain option from the dropdown menu (the first one, to be precise) to be selected automatically when a certain value is present in A2.
Here's a simulation:
https://docs.google.com/spreadsheets/d/1x-pmDmB6mbyjXFY0rHOkIzkpNagRJXif9dWNj3TJHkU/edit?usp=sharing
In A1, I want to write the formula:
If A2 is equal or less than zero, I want option 1 to be force displayed/ automatically selected in A1.
If A2 is more than zero, then I want the manually selected option to remain as it is.
I'm not completely sure if we're talking about the same thing, but I believe this has a lot in common with how dynamic dependent dropdowns are created in Google Sheets.
The only main difference is that you don't rely on a dropdown choice for your condition, but any cell value of your choice.
So how does this work?
The value in G1 is:
=IF(F1>0,filter(B:B,A:A="POS"),filter(B:B,A:A="NEG"))
This basically means that if F1 is greater than zero, only the values in Column B, whose corresponding value in Column A is POS, show up in Column F.
If F1 is zero or less than zero, only the values of Column B, whose corresponding value in Column A is NEG, show up in Column F.
Accordingly, we can now use Column F (the range G1:G8) as a 'dynamic' reference for the data validation of a dropdown. In the example, this was done in F2.
This YouTube video explains the underlying filter mechanism pretty well. I just expanded it with an IF-statement.
I'd like to manipulate other cells based on the selection from a dropdown menu. For example in cell A1 I have a dropdown with company A, B, C
I need a formula for cell B3 to change the data based on the selection in cell A1.
EX:
If cell A1 selects Company A, I'd like to take data from another tab in my sheet that gives me data for company A and place it into cell B3.
If cell A1 selects Company B, I'd like to take data from another tab in my sheet that gives me data for company B also inside B3.
Basically summarizing different data based on selection of my dropdown menu.
Please try:
=if(A1="A",A!A1,if(A1="B",B!A1,C!A1))
I am playing with this example by Kendo: http://dojo.telerik.com/EneFe
I have modified it so that the rows are selectable (selectable:true).
I have added a button on the top which calls the grid.clearSelection() function.
This is supposed to clear all selection but it does not clear the selection of rows that are selected in the dropdown table. (Recreate: click on the first row "Nancy", expand it and click on "10258 - Austria", then click the "Clear Selection" button and only "Nancy" will clear)
Is the function not working properly or am I misusing it?
In any case - how can I achieve a total clearing of all selected rows?
This is because they are two separate grids. Check this:
http://dojo.telerik.com/EneFe/2
I need to show/hide some of the slickgrid columns on the click of a button. Is it possible?
For example , I have a slickgrid having 3 columns. On click of a button I want to show three more columns i.e 4,5,6. On clicking the button again these columns should hide and another div should take its place. So basically toggle 3 of the 6 slickgrid columns.
Thanks
SlickGrid doesn't have a concept of showing or hiding columns. It shows whatever columns you specify in the constructor or in a later call to grid.setColumns(). If you want to hide a column, just remove it from the columns array you call grid.setColumns() again.
You can keep the original columns array with all the columns in a separate variable.