Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class Sample extends React.Component<any, any> {
yAxisLabelLeftMargin="0"
isHorizontalZoomEnabled="false"
isVerticalZoomEnabled="false"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
crosshairsDisplayMode="None">
</IgrCategoryChart>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class Sample extends React.Component<any, any> {
yAxisLabelLeftMargin="0"
isHorizontalZoomEnabled="false"
isVerticalZoomEnabled="false"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
highlightingMode="FadeOthersSpecific"
highlightingBehavior="NearestItemsAndSeries"
crosshairsDisplayMode="None">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class Sample extends React.Component<any, any> {
xAxisMajorStroke="lightgray"
xAxisGap="0.5"
crosshairsDisplayMode="None"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
highlightingMode="FadeOthersSpecific"
highlightingBehavior="NearestItemsAndSeries">
</IgrCategoryChart>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class Sample extends React.Component<any, any> {
yAxisTitleLeftMargin="10"
yAxisTitleRightMargin="5"
yAxisLabelLeftMargin="0"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
crosshairsDisplayMode="None"
highlightingMode="FadeOthersSpecific"
highlightingBehavior="NearestItemsAndSeries">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Sample extends React.Component<any, any> {
titleLeftMargin="25"
titleTopMargin="10"
titleBottomMargin="10"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
isSeriesHighlightingEnabled="true"
isTransitionInEnabled="true"
isHorizontalZoomEnabled="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class Sample extends React.Component<any, any> {
ref={this.chartRef}
chartType="StepArea"
yAxisTitle="TWh"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
isSeriesHighlightingEnabled="true"
isTransitionInEnabled="true"
isHorizontalZoomEnabled="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class Sample extends React.Component<any, any> {
chartType="StepLine"
dataSource={this.countryRenewableElectricity}
includedProperties={["year", "europe", "china", "america"]}
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
isSeriesHighlightingEnabled="true"
isHorizontalZoomEnabled="false"
isVerticalZoomEnabled="false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class Sample extends React.Component<any, any> {
isHorizontalZoomEnabled="false"
isVerticalZoomEnabled="false"
yAxisTitle="TWh"
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
crosshairsSnapToData="true">
</IgrCategoryChart>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class Sample extends React.Component<any, any> {
chartType="StepLine"
dataSource={this.countryRenewableElectricity}
includedProperties={["year", "europe", "china", "america"]}
isCategoryHighlightingEnabled="true"
isCategoryHighlightingEnabled="false"
isSeriesHighlightingEnabled="true"
isHorizontalZoomEnabled="false"
isVerticalZoomEnabled="false"
Expand Down
10 changes: 5 additions & 5 deletions samples/grids/grid/editing-columns/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IgrInputModule } from 'igniteui-react';
import { IgrGrid, IgrPaginator, IgrColumn } from 'igniteui-react-grids';
import { ComponentRenderer, WebGridDescriptionModule, WebPaginatorDescriptionModule, WebInputDescriptionModule } from 'igniteui-react-core';
import NwindData from './NwindData.json';
import { IgrGridBaseDirective, IgrGridEditEventArgs } from 'igniteui-react-grids';
import { IgrGridEditEventArgs } from 'igniteui-react-grids';
import { IgrCellTemplateContext } from 'igniteui-react-grids';
import { IgrInput } from 'igniteui-react';

Expand Down Expand Up @@ -118,13 +118,13 @@ export default class Sample extends React.Component<any, any> {
return this._componentRenderer;
}

public webGridOnEditEnter(e: IgrGridEditEventArgs): void {
public webGridOnEditEnter(args: IgrGridEditEventArgs): void {

const column = e.detail.owner.getColumnByVisibleIndex(e.detail.cellID.columnID);
const column = args.detail.owner.getColumnByVisibleIndex(args.detail.cellID.columnID);
if(column.field === 'ReorderLevel') {
setTimeout(() => {
const rowId = e.detail.cellID.rowID;
const columnId = e.detail.cellID.columnID;
const rowId = args.detail.cellID.rowID;
const columnId = args.detail.cellID.columnID;
const inputTemplateId = `edit-cell-${rowId}-${columnId}`;
const element = document.getElementById(inputTemplateId);
element?.focus();
Expand Down
Loading