I am exporting my grid to pdf.
The grid is showing 2 columns properly formatted to currency (E.g., $100.50) however, when I export to PDF they appear only as 100.5 (no dollar sign or proper decimal (2)... just 100.5 instead of $100.50
The grid is displaying them as $100.50
How do I get the proper currency formatting to be written into the PDF?
Hello!
RadPageView has a setting called "ItemSpacing" that adjusts the gap between RadPageViewPage controls.
Is there any way to get a similar result for RadDock?
Cheers!
C
Hi
I am using RadGridView with sorting enabled. Also Allowing resize columns.
But when I am double clicking on column text in header, it do sorting but also have extra behavior to expand (resize) the column width based on data, which we do not want.
Is there any way we can stop this behavior?
Hi, I'm using a RadDataFilter to filter data on a RaGridView.
For datetime columns I've noticed some problems.
First, in the control the date is displayed in english format (see first attached image). When I try to change the value a datetimepicker appears and in this case the date is in italian format (according to my pc settings).
Second, I've noticed when the radDataFilter.Expression is generated the date is in english format, including time, and it is inside a couple of #, i.e the expression generated is like:
[myDate] >= #11/20/2023 14:55:07#
I would like to have only the date without time, is it possible?
And how can manage this expression to generate the SQL expression, cause the # is not accepted.
Thank you in advance for any help.
Hi Team,
When grouping is enabled , the grid size is not resizing to the size of the column and drag column here text is not wrapping, tried to use the minimum size property of radgridview but not able to solve the problem. Kindly suggest in this issue, attached screenshot related to the issue.
Thanks,
Sitaram
Hello,
I'm currently building a material library tool using Telerik's RadListView. I pretty much got it near exactly what I'm after. However, I'm having some trouble with the last feature, and I'm hoping someone can provide some insight.
What I'd like to do is add an icon to the top left-hand corner of each item that will represent their category.
So far, using the following code and a bit of trickery with HTML markup, my ListView Items currently look like this.
(Written in C++)
//Create a new ListView Item
Item = gcnew ListViewDataItem();
//Generate HTML Label
String^ Label = "<html><strong>" + Name + "</strong><br><span style=\"color:f5f5f5\"><i>" + Latin + "</i></span></html>";
Item->Text = Label;
Item->TextAlignment = ContentAlignment::MiddleCenter;
Item->TextImageRelation = Windows::Forms::TextImageRelation::ImageAboveText;
//Load the Thumbnail
String^ thumbnailPath = Path + "\\" + ThumbPath;
Item->Image = Image::FromFile(thumbnailPath);
Item->ImageAlignment = ContentAlignment::TopCenter;
However, what I'd like to achieve is this:
I was hoping there was a Background Image property for ListViewDataItem. However, that doesn't seem to be the case. Is there a clever trick to achieve this? Or is my only option to create a Custom ListViewDataItem as described here? https://docs.telerik.com/devtools/winforms/controls/listview/custom-items
Thanks!
The summary row at top and bottom should not scroll while horizontal scroll.
Hi,
I want to hide grid column but condition is, summary row column should not be hidden.
I want to display summary column but not grid column.
Hi, I need to show a boolean column in a RadGridView.
I would like to show the column as in the attached image, i.e. with a tick for the true value and nothing for the false value.
I would like to use GridViewCheckBoxColumn but, this column always shows values as checkboxes. In my case, the table is readonly, so the standard checkboxed makes the user to think that he can click to change the check value.
I tried using a GridViewTextBoxColumn and using CellFormatting event:
private void radGrid_CellFormatting(object sender, CellFormattingEventArgs e)
{
if (this.DesignMode) return;
if (e.CellElement.ColumnInfo.FieldName == "ScambioPratiche") {
if ((bool)((System.Data.DataRowView)e.CellElement.RowInfo.DataBoundItem).Row["ScambioPratiche"] == true)
{
e.CellElement.Image = MyApp.Main.Properties.Resources.tick;
}
else
{
e.CellElement.Image = null;
}
e.CellElement.Text = string.Empty;
}
else
{
e.CellElement.ResetValue(LightVisualElement.ImageProperty, ValueResetFlags.Local);
}
}
In this way, however, the filter is a text filter and not a checkboxfilter...
Is there a better way to gain my goal, possibly by GridViewCheckBoxColumn ?