I would like to have first column in my table editable. That works fine. However table looks normal and only when I click on the editable cell, it looks like input box. I would like to have this look of inputbox as default on every editable column in my table, so user knows right away which cell he is able to modify and which one he cannot. I figured I will have to modify caspian.css, but I couldn't find anything there. Is there easier, programmatic way to do this?
Thanks
You need to set the cellFactory of your column, inside it you can specify what you want by default on your cell by setting is graphics
explanation
and here
Related
Here is an image of it. I want the default value to be Open when the toggle is selected as yes.
Change the Default setting for the dropdown control to a formula along these lines:
If(MyToggle.Value=true,"Three","One")
If the control is a Combobox, which is what's used for a SharePoint Choice column, then the items are records, not just a list of text. For a combo box you need to change the property for "DefaultSelectedItems" and set it to something like this:
If(MyToggle.Value,{Value:"Three"},Parent.Default)
Make sure that the value you are using is a valid one according to the SharePoint choice column definition.
Hope you could help, don't know if its possible.
I'm using Excel to create a layout with some ID's in that layout.
Since it's a layout, I can't just show all information needed as it's too much, so, I would like with a click in that cell or when mouse hover it shows a tooltip/comment with a custom vlookup that search that ID in another sheet. When the user click in a empty cell or takes mouse point to an empty cell the tooltip/comment disappear.
Already make some searches but couldn't find anything. Any suggestions in how to achieve this?
Thanks.
I have previously known an excel short-cut command that popped up an window where one could select a layout for a range of cells in the worksheet. There were many selections and several of them were quite beautiful. The layout would change the background color of the heading (first row selected), and format the first column and the cells in the body respectively.
I'm not talking about making tables or the table formatter, also it was only accessible through the shortcut command as far as I know (which I've now forgotten). Does anyone recall what I mean and could that person please share? I've been trying to remember it for some time now.
I believe what you first need to do is enable Excel to recognise your table. Take a look at my screenshot above!
By using Alt + O + A one will get up the AutoFormat window.
ive installed CKEditor on my website with the tabletools Plugins from here: http://ckeditor.com/addon/tabletools. Everything but the tabletool dialog works well.
For example: I have edited my table cell width to 33.333% and hit ok. A few minutes later I wanted to set a background color on that table cell, but unfortunatly the width (and all the other changes ive made in that dialog) was empty. That means that i cant make any further changes to that cell if i dont want to fill all the other again. Does anyone knows if this is intended and if their are any solutions to get the fields filled again?
I'm pretty certain that next time you (unconsciously) select different table cells than previously. Unfortunately it's not visible, because browsers render selections in tables poorly. For example selection may be extended to contain beginning of next cell and in such case you will see only selection in the first cell.
To make sure that on right click selection won't overflow current cell make sure to click in the middle of the text. Or, if you mistakenly opened dialog for two table cells (then width of first cell won't be loaded into the dialog), just set the values you want to change and editor won't reset those values which you haven't filled.
I have an ext.net page containing a table built by TableLayout. It is similar with the example shown on the official demo site. (link) The only thing different is I have combo box, textbox inside those Cells, not just a bunch of panels.
Now, there is the need to dynamically hide some textboxes based on the selection of a combobox. What I have done is to set up the combobox to AutoPostBack="true" OnValueChanged="comboboxname_OnValueChanged" .
In that code-behind method comboboxname_OnValueChanged, I check the selected value and do a textboxname.Visible="false". Then I got the unexpected: the whole Cell that contains that textbox is removed. And my whole table is messed up!
Then my guess is that the Cell must remain in place to occupy the position. My next try is:
mytablelayout.Cells[5].Clear();
mytablelayout.Cells[5].Add(emptyLabel);
here, the index 5 is the table cell with the textbox I want to hide. and emptyLabel is an ext.Label which displays nothing. Unfortunately it does not work.
My third try is to build an empty cell first. then,
mytablelayout.Cells.RemoveAt(5);
mytablelayout.Cells.Insert(5, emptyCell);
I found RemoveAt(5) can be successfully executed, which again messed up my table because the next cell just moves from its supposed place. But the Insert(5, emptyCell) just never did what I want.
Now I am really at my wit's end. Can any ext.net expert give some advice? How did you manipulate the Cells in a TableLayout?
Thank you for any helpful input.
make a CSS class with display none.
.myClass {
display: none;
}
set the textbox cls property to the CSS class made earlier
textboxname.cls = "myClass";