|
Query |
Response | |
|
a.) Quick search
- I'm used to hit CTRL+F which creates a new line on top of the grid with a textbox. There I can enter text which is used to search the whole grid (all columns) for the entered text using "contains". To enable this I just set "EnabelSearch=True". Searching help I just found that I have to somehow create a textbox, a button and then I have to write code to make the search work.
Am I missing something or does SFDataGrid not support such a feature without tweaking the UI by myself?
|
SfDataGrid doesn’t have any inbuilt support to show search textbox within the DataGrid. You have to include your own textbox to search any content in the column. | |
|
b.) Copy and paste on column level.
- With the competitors control I enable "RowHeader" which shows an extra small column in front of every row.
When I click this rowheader the row gets marked and CTRL+C copies the whole row (all columns).
On the other hand - when I select a column and hit CTRL+C only the content of this column is copied. |
You can achieve this in SfDataGrid by using clipboard operations support and SelectionUnit support in SfDataGrid as shown in the following code example.
Code example :
Sample link : https://www.syncfusion.com/downloads/support/forum/165970/ze/SfDataGrid_Demo1432725922
References :
| |
|
c.) Hyperlink Text / Hyperlink URI in HyperLinkColumn
- With the competitor a hyperlink column has a "URI" property which set's the URI (and also the text if nothing different is given).
Further there is a "HyperLinkText" property where I can bind a text - if set this is displayed in the column. Example - Text="Details" URI="https://somedomain.so/now/a/long/nasty/link?whitsome=parameters"
Or: Text="[email protected]" with the URI "mailto:[email protected]"
I found no information how to do this with your control but it is essential because I often use long URLs which make the column extremely wide and unreadable.
By the way - I can make a template I know - but using a TextBlock shows a different optical representation (not blue, not underlind). And setting this value (Foreground, decoration) also doesn't work when I use different themes.
|
You can achieve this by using GridHyperlinkColumn support and CurrentCellRequestNavigate event in SfDataGrid.
|