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
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
but I didn't find any documentation on how to achieve this. Do you have an example of mixed mode?
Thank you
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?
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
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
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?
I'm facing issue while binding RadCartesianChart, application is crashing. With the help of application log both x-axis and y-axis value are passing but still getting null reference exception.
Logged the stack. Please help
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
at Telerik.Charting.AxisModel.MeasureCo
----Stack----
at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
at Telerik.Charting.AxisModel.MeasureCore(RadSize availableSize)
at Telerik.Charting.AxisModel.Measure(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.AxisStack.Measure(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(RadSize availableSize)
at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(RadRect availableRect)
at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect)
at Telerik.Core.Node.Arrange(RadRect rect, Boolean shouldRoundLayout)
at Telerik.Core.RootElement.Arrange()
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.CallUpdateUI()
at Telerik.UI.Xaml.Controls.Chart.RadChartBase.InvalidateLayout()
-------------
Thanks