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?
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
but I didn't find any documentation on how to achieve this. Do you have an example of mixed mode?
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?
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.
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!!?????
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