Skip to content

Replies

0
Milko Venkov
Milko Venkov answered on Jan 22, 2019 7:03 AM

Hello Vaishnavi,

Following the steps you described I have created a small sample website with a single grid. Then I have exported the grid with WebExcelExporter, have set the FormatString of the date column as you did. In the exported Excel file the format of the column is correct in my sample.

I am sending you my sample to test it on your side. Please run it and let me know what the result of this test is.

Looking forward to your reply.

webGridToExcel.zip

0
Milko Venkov
Milko Venkov answered on Jan 11, 2019 9:02 AM

Hi Shailesh,

The value of the radio group through ngModel two way binding. You can use markup like this:


 
  {{item}}
 

Do not forget to set selectedItem property in code behind like this:

public selectedItem = this.items[itmeIndex];

More information about igxSelectGroup you may find in our online samples here “Radio & Radio Group”.

Please let me know if this answers your question.

0
Milko Venkov
Milko Venkov answered on Jan 7, 2019 11:25 AM

Hello Shailesh,

The value of the igxCombo actually represents a list of the combo’s selected items. If you need to set the value to equal particular value of your data you need to add this item to the selected items. Nice place to do this is in AfterViewInit event of your component, where igxCombo is placed. You may use code like this:

ngAfterViewInit(): void {
    this.igxCombo.selectItems([this.items[0]]);
}

Please let me know if any additional questions on this matter arise.

0
Milko Venkov
Milko Venkov answered on Dec 28, 2018 9:14 AM

Hello Jeff,

In order to add several date filtering condition to a grid column you should create filtering expression tree. Here is what you need to do:

First create your start and end date conditions like this:

const startDate = new Date(2012,1,2);
const startDateCondition = IgxDateFilteringOperand.instance().condition('after');
const startDateExpression = {
     condition: startDateCondition,
     fieldName: "OrderDate",
     searchVal: startDate
};

const endDate = new Date(2018,1,2);
const endDateCondition = IgxDateFilteringOperand.instance().condition('before');
const endDateExpression = {
     condition: endDateCondition,
     fieldName: "OrderDate",
     searchVal: endDate
};

Then create filtering expression tree for your date column, where these two conditions will be added and add both conditions:

const dateFilteringExpressionsTree = new FilteringExpressionsTree(FilteringLogic.And, "OrderDate");
dateFilteringExpressionsTree.filteringOperands.push(startDateExpression);
dateFilteringExpressionsTree.filteringOperands.push(endDateExpression);

Finally create expression tree for your grid and add to its filtering operands date filtering expression tree:

const gridFilteringExpressionsTree = new FilteringExpressionsTree(FilteringLogic.And);
gridFilteringExpressionsTree.filteringOperands.push(dateFilteringExpressionsTree);

To apply this filter set the grid filtering expression tree to your grid:

this.grid1.filteringExpressionsTree = gridFilteringExressionsTree;

Please let me know if this answer your question or if you need any further assistance on this matter.

Sincerely,
Milko
Software Developer

0
Milko Venkov
Milko Venkov answered on Jan 3, 2018 6:12 AM

Hello Shoaib,

This issue was fixed in versions 17.1 and 17.2 as well as in any future version of Infragistics for Windows Forms. You can download now the latest service release for these version.
Thank you for using Infragistics components.

0
Milko Venkov
Milko Venkov answered on Nov 8, 2017 7:56 AM

Hi Shoaib,

I created a case for you with id CAS-187886-L6C2B9. You could reach your case following the link bellow:

https://es.infragistics.com/my-account/support-activity

This issue is now fixed and will be included in our next service release. It is also included in our last bi-weekly build. I will provide you with a download location for this build via the mentioned case.

0
Milko Venkov
Milko Venkov answered on Oct 26, 2017 6:12 AM

Hello Joseph,

Yes, exactly. To set the size of the Image you should set the ImageSize property of the button.

Please let me know if any additional questions on this matter arise.