Telerik Forums
UI for Universal Windows Platform Forum
2 answers
182 views
Hi,

My goal is to create dynamically columns. Columns are added via a timer event. I have access to the data before to set the DataContext.

I found that the DataGrid has the method HitTestService.CellInfoFromPoint/RowItemFromPoint, but it requires a point.

Alternatively, is there a way that I could set the DataContext in another way?
Yana
Telerik team
 answered on 06 May 2022
1 answer
187 views

Good day,

I want to provide some buttons that scrolls/shifts the grid columns horizontally via MVVM.  I happen to be using MVVM Light, but that probably isn't the key issue.  I know I could do this via an event connecting to an ICommand, but I'm not sure in my Delegate what property, I could set in the RadGrid, that would cause a specific Column Index to come into view.

Can someone assist me with this?

Peace,
Keith

Lance | Senior Manager Technical Support
Telerik team
 answered on 03 May 2022
1 answer
216 views

Hi,

In order to same the header text for the first 3 columns, I use the event "PrepareCell" event in the StringNameColumn. The StringNameColumn is used for the first 3 columns.

My solution works (Expando.png+SringNameColumn.PrepareCell), but I'm sure there is a better way, because with my solution the header text will be set over and over for each row!

Is there a better way? In this documentation page, I saw: https://docs.telerik.com/devtools/universal-windows-platform/controls/raddatagrid/columns/datagrid-overview?msclkid=9d05cf25c64c11ecac794eb0f892e42a

  • Mixed - by adding columns to the RadDataGrid.Columns collection and also set RadDataGrid.AutoGenerateColumns="True"

but I didn't find any documentation on how to achieve this. Do you have an example of mixed mode?

Thank you

Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Apr 2022
1 answer
214 views
It appears that the calendar swipes up/down in monthly view, if not also in others..  How can we make it swipe left/right and change the buttons accordingly?
Didi
Telerik team
 updated answer on 26 Apr 2022
0 answers
82 views

I am running into an issue with the calendar control dealing with the header content template. I have a template set in the calendar however on load the header never shows up. The only way that I have been able to see the header content is if i comment out the template while it is running, uncomment it and then save. After this the header shows up at the top of the screen. I have attached a screenshot with my rad calendar as well as a zipped mp4 video showing the issue and it appearing after commenting/uncommenting the data template. Any idea why the header content template does not show on load?

Tyler
Top achievements
Rank 1
 asked on 25 Apr 2022
1 answer
174 views

Hello,

By chance, have you helped anyone with pivoting data into a grid?

I have some data that looks similar to this::

EmployeeID  |  ShiftDate (MMddyyyy)   | Hours 
1                      | 11062021                           | 07:00 - 10:00 
1                      | 11072021                           | 08:00 - 12:00 
1                      | 11082021                           | 07:00 - 10:00 
1                      | 11092021                           | 07:30 -  16:00
2                     | 11062021                           | 07:00 - 10:00 
2                     | 11072021                           | 07:00 - 10:00 
2                     | 11092021                           | 07:00 - 10:00 
3                     | 11082021                           | 07:00 - 10:00 

I'd like to show it in the Grid Like this:

EmployeeID | 11062021        | 11072021         | 11082021        | 11092021          |
1                    | 07:00 - 10:00 | 08:00 - 12:00 | 07:00 - 10:00 | 07:30 -  16:00  |
2                   | 07:00 - 10:00 | 07:00 - 10:00 |                         | 07:00 - 10:00  |
3                   |                         |                         | 07:00 - 10:00 |                          |

Hoping for an example if possible.  Since this product doesn't have the PivotGrid, I might have to come up with another idea.

Sincerely,
Keith Nicholson

Didi
Telerik team
 answered on 02 Nov 2021
1 answer
210 views
Is it as simple as Telerik UI for Xamarin includes Telerik UI for UWP?
Didi
Telerik team
 updated answer on 16 Aug 2021
1 answer
282 views

I want to print my datagrid with multiple page.

 

It's printing only a single page, and also I can't able to print header and footer for printing page. How to print a datagrid with multiple page & header and footer!!?????

Lance | Senior Manager Technical Support
Telerik team
 answered on 09 Aug 2021
1 answer
172 views

I want to sort particular columns in my datagrid using button. I placed this button in another page. If I click that button means it want to go datagrid page and sort that particular columns in automatically its possible!??

I tried but it's not working 

Lance | Senior Manager Technical Support
Telerik team
 answered on 19 Jul 2021
1 answer
192 views

Is it possible to allow the user to tab to the next row when editing data?

At present tab only allows them to move to columns within the row, ideally they want to tab to the next editable column on the next row and so on, is that possible?

Lance | Senior Manager Technical Support
Telerik team
 answered on 14 Jul 2021
Top users last month
Michael
Top achievements
Rank 1
Iron
Wilfred
Top achievements
Rank 1
Alexander
Top achievements
Rank 2
Iron
Iron
Matthew
Top achievements
Rank 1
Iron
ibra
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?