Satvinder Singh

Add frozen column fuctionality for RadTreeList

Feature Request by Satvinder Singh Status: Under Review Comments: 1 Category: RadTreeList Scheduled for: Not Scheduled Last update: 2018-08-14T12:00:43 by Jean-Pierre Lessard
0
Attila Antal
Team Member

TextBox values are not cleared when NoFilter is applied in RadGrid Excel-Like filtering

After having a filter applied, filter value is not cleared when FilterOption was set to "NoFilter".


The following client-side logic would clear the textbox values before the filtering is applied if filter options are set to "NoFilter"

function onCommand(sender, args) {
if (args.get_commandName() == "HeaderContextMenuFilter") {
var firstTextBox = $("[id$='HCFMRTBFirstCond']")[0].control;
var firstFilterOption = args.get_commandArgument().split("|")[1];

var secondTextBox = $("[id$='HCFMRTBSecondCond']")[0].control;
var secondFilterOption = args.get_commandArgument().split("|")[3];

if (firstFilterOption.includes("NoFilter") && firstTextBox.get_value() != "") {
args.set_cancel(true);
var value = firstTextBox.get_value();
firstTextBox.clear();
var newArg = args.get_commandArgument().replace("|" + value + "|?", "||?");
args.get_tableView().fireCommand(args.get_commandName(), newArg);
}

if (secondFilterOption.includes("NoFilter") && secondTextBox.get_value() != "") {
args.set_cancel(true);
var value = firstTextBox.get_value();
secondTextBox.clear();
var newArg = args.get_commandArgument().replace("|" + value + "|?", "||?");
args.get_tableView().fireCommand(args.get_commandName(), newArg);
}
}
}
Bug Report by Attila Antal Status: Approved Comments: 0 Category: RadGrid Scheduled for: Not Scheduled Last update: 2018-08-13T11:13:21 by Attila Antal
0
Attila Antal
Team Member

Integrate validation for column UniqueNames in RadGantt

Integrate validation of unique names that are being assigned through the UniqueName property of the GanttBoundColumn class to prevent the same assigned two times.

E.g.

RadGantt myGantt = new RadGantt();
GanttBoundColumn boundColumn = new GanttBoundColumn();
boundColumn.UniqueName = "Unique";
myGantt.Columns.Add(boundColumn);

GanttBoundColumn boundColumn2 = new GanttBoundColumn();
boundColumn.UniqueName = "Unique"; // this should be validated
myGantt.Columns.Add(boundColumn2);

Feature Request by Attila Antal Status: Approved Comments: 1 Category: RadGantt Scheduled for: Not Scheduled Last update: 2018-08-13T04:25:23 by Kasim Husaini
0
Kasim Husaini

RadGantt Add custom action buttons to RadGantt chart button strip (Where the export buttons appears)

There is a need to add custom buttons to the button strip of RadGantt.

The buttons for "Day | Week | Month" view appears on the top right of the RadGantt. The "Export to Pdf" button appears on the top left corner. I would like to add new buttons next to the "Export to Pdf" button.

I would suggest taking this as a feature request. There are many scenarios where we need to have custom buttons in the toolbar of the RadGantt. Let the priority be decided by public opinion.
Feature Request by Kasim Husaini Status: New Comments: 0 Category: RadGantt Scheduled for: Not Scheduled Last update: 2018-08-12T03:18:43 by Kasim Husaini
0
Rumen Jekov
Team Member

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive error when scrolling in Chrome

When scroll inside RadGrid in Chrome on a mobile device or in the DevTools responsive/mobile mode, the browser throws [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080. I get 1 error message for every pixel the grid scrolls.

The problem is due to jQuery and is reproducible with 1.12.4 and 3.3.1 versions of it.
Bug Report by Rumen Jekov Status: Approved Comments: 0 Category: RadGrid Scheduled for: Not Scheduled Last update: 2018-08-10T08:42:08 by Rumen Jekov
0
Attila Antal
Team Member

Implement a string indexer or a method to get column by unique name in RadGantt

Implement a string indexer or a method to get column by unique name in RadGantt.

Example of string indexer
//
// Summary: This class represents collection of Telerik.Web.UI.GanttBoundColumn.
//
public class ColumnCollection : BaseCollection<GanttBoundColumn>
{
public ColumnCollection(){...}
public ColumnCollection(IGantt owner){...}

public GanttBoundColumn this[string ColumnName]
{
//considering columnCollection is internal variable holding list of columns.
return columnCollection.Where(c => c.UniqueName == ColumnName).FirstOrDefault();
}
}

Example of a method can be similar to RadGrid's GetColumn and GetColumnSafe methods: https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/Common/using-the--getitems-getcolumn-and-getcolumnsafe-methods.
Feature Request by Attila Antal Status: New Comments: 0 Category: RadGantt Scheduled for: Not Scheduled Last update: 2018-08-10T07:20:07 by Attila Antal
0
Marin Bratanov
Team Member

Height options for LayoutRow

In the LayoutColumn we can easily set different Span which sets the width of the columns based on the viewport size.

A similar implementation with LayoutRow is required where based on viewport size, the height of the respective row can be set.

Properties can be:
Height [Defaault Height of the Row]
HeightXl
HeightLg
HeightSm
etc..

One potential issue is that the content of the rows determines their height (and doing it differently can break the layouts): https://docs.telerik.com/devtools/aspnet-ajax/controls/pagelayout/structure/rows. Nevertheless, you can use their CssClass property and cascade through it in a @media query of your own that will provide the desired appearance. For example, you can place you own containers that will receive the necessary rules.

Another caveat is how to determine the height, especially when set in percent. The layout may be in a container that does not span the entire viewport, and height in percent poses a lot of requirements on the entire HTML structure outside of the control as well (all parent elements having explicit dimensions, and no sibling elements being present next to elements with height in percent).

Considering these potential issues, you can use the CSS solution attached below.
Feature Request by Marin Bratanov Status: New Comments: 1 Attachments: 1 Category: RadPageLayout Scheduled for: Not Scheduled Last update: 2018-08-08T04:38:13 by Kasim Husaini
0
Danail Vasilev
Team Member

ADD Top and Bottom Positions for Axes / Axes Labels in RadHtmlChart

In scenarios where the Series are Column/Bar and Positive and Negative values are present, the XAxis labels are overlapped by the Series themselves. Expose an additional Position property for the axis labels that controls their position to Top/Bottom.

For the time being you can choose either approach:

1) Use a second x-axis that stores only the labels:

a) Category Axis example:
<script>
function BottomXAxisLabels() {
var chart = $find("<%=RadHtmlChart1.ClientID%>").get_kendoWidget();
var axis = $telerik.$.extend(true, {}, chart.options.categoryAxis);
axis.line.visible = false;
chart.setOptions({ categoryAxis: [{}, axis] });
chart.options.valueAxis.axisCrossingValues = [0, -99999999999];
chart.redraw();
}
</script>
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="600px" Height="400px">
<ClientEvents OnLoad="BottomXAxisLabels" />
<PlotArea>
<Series>
<telerik:ColumnSeries Name="Product 1">
<SeriesItems>
<telerik:CategorySeriesItem Y="15000" />
<telerik:CategorySeriesItem Y="-4000" />
<telerik:CategorySeriesItem Y="10000" />
</SeriesItems>
</telerik:ColumnSeries>
</Series>
<XAxis>
<Items>
<telerik:AxisItem LabelText="1" />
<telerik:AxisItem LabelText="2" />
<telerik:AxisItem LabelText="3" />
</Items>
</XAxis>
</PlotArea>
<ChartTitle Text="Product sales for 2011">
</ChartTitle>
<Legend>
<Appearance Position="Bottom" />
</Legend>
</telerik:RadHtmlChart>

b) Numeric axis example:
<script>
function BottomXAxisLabels() {
var chart = $find("<%=RadHtmlChart1.ClientID%>").get_kendoWidget();
var axis = $telerik.$.extend(true, {}, chart.options.xAxis);
axis.line.visible = false;
chart.setOptions({ xAxis: [{ labels: { visible: false }}, axis] });
chart.options.yAxis.axisCrossingValues = [0, -99999999999];
chart.redraw();
}
</script>
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="600px" Height="400px">
<ClientEvents OnLoad="BottomXAxisLabels" />
<PlotArea>
<Series>
<telerik:ScatterLineSeries Name="Product 1">
<SeriesItems>
<telerik:ScatterSeriesItem Y="15000" X="5" />
<telerik:ScatterSeriesItem Y="-4000" X="6" />
<telerik:ScatterSeriesItem Y="10000" X="7"/>
</SeriesItems>
</telerik:ScatterLineSeries>
</Series>
</PlotArea>
<ChartTitle Text="Product sales for 2011">
</ChartTitle>
<Legend>
<Appearance Position="Bottom" />
</Legend>
</telerik:RadHtmlChart>

2) Use the TextStyle property of the RadHtmlChart , in order to set higher margin for the XAxis labels. For example:

<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" Width="600px" Height="400px">
<PlotArea>
<Series>
<telerik:ColumnSeries Name="Product 1">
<SeriesItems>
<telerik:CategorySeriesItem Y="15000" />
<telerik:CategorySeriesItem Y="-4000" />
<telerik:CategorySeriesItem Y="10000" />
</SeriesItems>
</telerik:ColumnSeries>
</Series>
<XAxis>
<LabelsAppearance>
<TextStyle Margin="135 0 0 0" />
</LabelsAppearance>
<Items>
<telerik:AxisItem LabelText="item1" />
<telerik:AxisItem LabelText="item2" />
<telerik:AxisItem LabelText="item3" />
</Items>
</XAxis>
</PlotArea>
</telerik:RadHtmlChart>

Note: Labels margin and chart's PlotArea height are inversely proportional - the higher the margin is the lower the chart's PlotArea height will be. This resizing is needed, in order for the chart's main dimensions to be kept.
Feature Request by Danail Vasilev Status: Approved Comments: 15 Category: RadHtmlChart Scheduled for: Not Scheduled Last update: 2018-08-06T09:10:42 by Marin Bratanov
0
Peter Milchev

Error when filtering a Grid with CalculatedColumn is bound to EntityDataSource

As a temporary workaround you can use Template column with a DataField set.
Bug Report by Peter Milchev Status: New Comments: 0 Category: RadGrid Scheduled for: Not Scheduled Last update: 2018-08-03T15:38:29 by Peter Milchev
0
Veselina Raykova
Team Member

RadGrid filter command is not triggered for strings containing "and" word

RadGrid filter command is not triggered for strings containing "and" word.

Video: https://www.screencast.com/t/j649UvPQ3z6

Steps to reproduce:
Filter by "SUNBAY AND LEONA A" in the following demo:
https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/excel-like-filtering/defaultcs.aspx
Bug Report by Veselina Raykova Status: Approved Comments: 0 Category: RadGrid Scheduled for: Not Scheduled Last update: 2018-08-03T12:20:02 by Veselina Raykova
0
Displaying items 1 - 10 of 1552