How to wrap Sharepoint Calendar Cell Row Text - sharepoint

How do I make long event titles wrap in Calendar cells if they are longer than cell width when viewing event list in Calendar view? I am in Sharepoint Online/2019.

The only solution I tested is setting below CSS.
<style type="text/css">
.ms-acal-rootdiv div {
white-space:pre-wrap;
}
</style>

Related

Conditional formatting of power bi table cell

i have a table for product in power bi. It has a column called sales rate.it has a text value “high,medium,low”.i want to add a conditional formatting to it. If it is high,the background of a cell should be red.if it is medium, background of a cell should be yellow.otherwise it will be green. How i can do it? And is it possible to use switch function with text?
You can make a new column, like this:
Column = SWITCH('Table'[Sales rate]; "high"; "red"; "medium"; "yellow"; "low"; "green")
Then right click each of the fields in Visualizations pane and select Conditional formatting -> Background color:
Format it by Field value, based on the column made, with First summarization, and you will get the highlighting you want:
See Use conditional formatting in tables for more information.

How to apply background color formatting

I am trying to figure out how to apply background color based on a cell >5 to be orange in a column titled value. I currently have a template in google sheets with the following to format the column which works fine but I cannot figure out the background coloring (column 12 is titled value)
tbody>tr>:nth-child(2){
color:red;
width:200px;
text-align:center;
}
Thanks in advance

Cannot apply filter on whole columns in Excel of exported DevExpress grid

I've exported a DevExpress grid in Excel. I want to be able to apply Excel filters on exported Excel sheet. Right now, the Excel export only allows me to apply filters on values between dark grey rows (rows that already have sums in them). See pics.
(Could this be because of the cell merge that happened in the formatting?)
I'm using a the following method to export:
Using link As New PrintableComponentLink(New PrintingSystem())
Dim options As New XlsxExportOptionsEx
options.ExportType = DevExpress.Export.ExportType.DataAware
options.TextExportMode = TextExportMode.Value 'Should set to Value to be able to have the numbers displayed as numbers instead of text.
options.AllowCellMerge = DefaultBoolean.False
link.Component = gcInvisibleDetail
link.CreateDocument(link.PrintingSystem)
link.ExportToXlsx(tbRepertoire.Text & "\Charges.xlsx", options)
End Using
The filter Cannot be apply to whole columns because there is a small indents on the top and at the bottom within the group footer row 7,9,15 and 17 in your example, empty rows in Excel emulate these indents.
These rows are added to support the WYSIWYG principe of the grid export.
You can review this topic:
Problem with XtraGrid Group Footer rending when exporting to excel

How To Change Font Bold in Crystal Report In C#

I'm facing problem a with Crystal report. I want to display location like
J1 // One by one
J3
in data table. Then I want check condition like if J3 and OT='YES' (OT column from datatbase), if true means I want show J3 as bold.
How can I achieve this?
Right click on the field that displays the J1, J3 and click on Format Object to enter the Format Editor.
In the font tab you can find the Style property as shown below:
Click on the [x+2] button which is on the right side of the style property and write the following code there
if {DataTable1.ColumnName} = "J3" and {DataTable1.OT} = "YES" then
crBold
else
crRegular
Replace the DataTable1 with the name of your data source and the ColumnName with the name of the field that holds the J1, J3.

How to get values from custom cells with textfield UITableView?

I have created a UITableView which function like this section 0 2 custom cells (First name,last name with UITextFields) section 1 (tap a button on header insert a new cell with textfield + a Button to change the title) section 2 (tap a button on header insert a new cell with textfield + a Button to change the title) section 3 (tap a button on header insert a new cell with textfield + a Button to change the title ). Now suppose I create a 3-3 rows in each section except section 0. How do i dynamically get all the textfields values?
You have a datasource for your TableView.
This source should be updated automatically everytime you insert a new cell.
So if you iterate through the array containing your datasource there should also be the values of the textfield somewhere.
If this isn't the case you should think about the way you are adding the new cells.
Usually in your datasource there should be reserved some space for the data in the textfield.
If you create a new Cell now, the space reserved for the data of the textfield should be updated with the new data.
If I understand you correctly you have a cell with a lable and a textfield and a button.
you create a cell, enter some text in the textfield and then press the button.
then the content of the textfield should be displayed in the label.
If i'm wrong please shove me in the right direction. Maybe you can post some screenshots or something.
!!!!! Wrong approach !!!!!!!
Iterate through your cells you get
from the method
[tableView visibleCells];
and then get the value from the
textField contained in the cell via
NSArray *myArray = [[NSArray alloc] initWithArray: [tableView
visibleCells]];
[[(YourCellSubClass*)myArray textfield] text];
I have not tested this, but i think it
should work.
!!!!!! Wrong approach end !!!!!!
you must set delegate of UITextField the ViewController in which you have the UITableView. then override this method to get the text of focused textfield textField:DidEndEditing.
Also you can set the tags for each UITextfield to differentiate them.

Resources