I have a GridView that users will select rows in, and I would like to trigger calculations after they have filtered, and include ONLY the filtered rows in the calculation.
How do I trigger the calculations, and how do I select only filtered rows?
I have a custom column, which contains a textbox when in editing mode, and two textblocks when not in editing mode. These controls are created through CreateCellElement and CreatedCellEditElement in my custom column.
The first textblock (A) shows the text - and the second textblock (B) shows a status.
I also have the search as you type on the RadGridView (ShowSearchPanel=True). It works for my custom column (I have bound the datamemberbinding to the text in the viewmodel). But the text in the textblock (A) does not get hightlighted.
The user may enter several lines of text, but textblock A will only show the first line (through alignments) - this is done to keep the rows from becomming to high when users enters a lot of text.
Is there any way to have the column highlight, when there is a match in Search as you type?
Good morning,
As you can see in the attached file I've used a RadGridView Control to show some sales.
With my program I can sell two items, then close partially the sales and then insert a new product e close the sales partially or definitively.
I've made this by create an object who refer to my model (my db model) and add to it a variable "Type" (who tells me wath kind of row is).
For the details (see the White row) I read my data db and set the "Type" at 0, for the Yellow and Green row I'm not read the data from db but with an internal foreach with variuous Group by I can know when a Row is a subtotal or a total and for these last 2 condition I set the type at 1 or 2, then with styles and datatrigger I color the lines.
This works, but if I use filter or the search control I lost the total and subtotal row.
How can I avoid it?
Hi,
I'm trying to diagnose a memory build inside the RadGridView where the only refence to the memory object is in the inpcSubscriptions in the RadGridView, how do I go about clearing this list down?
Hello. I ask you about real-time chart with viewing of histirical data in http://www.telerik.com/forums/how-to-create-real-time-chart-(radcartesianchart-with-spline-series)-scrolled-or-panned-in-time. You gave me information with example there but this example works poorly. I've tryed to improve the functioning of the chart in the example but to no avail. So I still need RadCartesianChart that can show historical data. Please give me an example of such RadCartesianChart with historical data viewing that works good, if this is possible ofcourse. I need such RadCartesianChart very much. I would be very grateful to you for your help.
Hi simple question, I know you can clear the numeric approach in behind code using something like this
<telerik:RadButton Content="Clear" Command="{Binding ElementName=RMTI,Path=ClearCommand}"/>
But I'm looking for an MVVM approach. Any ideas?
In my viewmodel I would set the NumericTextBox value to null but instead of clearing out, it would go to zero. NumericTextBox Value is of type double?
Hi,
I have GridViewDataColumn with a edit template containing a com:
<
telerik:RadButton
Command
=
"{Binding DoSomethingCommand}"
Focusable
=
"False"
</telerik:RadButton>
My button command calls a command hander "MyViewModel.OnDoSomething" method in ViewModel attached to RadGridView row, but I am unable to figure out how to close edit mode after my handler is called. I tried to call CommitEdit() from Click() handler attached to button above. After adding click handler my "MyViewModel.OnDoSomething" is not called anymore.
I could fire new event from MyViewModel.OnDoSomething and intercept this event in View and call CommitEdit from there, but maybe there is a simpler way?
Thanks,
Łukasz