Hi,
I have couple of questions.
Thanks,
Valliappan
Hello Valliappan,
Additionally I’d like to let you know that with our latest SR for 15.2 we support MVC6 RC1 version.
You can find the attached sample for your reference. In order to run it you'll need to add references to the DNX 4.5.1 and DNX Core 5.0 versions of the Infragistics.Web.Mvc dll, which you can find in the installation directory of the product under {InstallDir}\2015.2\Ignite UI\MVC\MVC6\Bin
Let me know if you have any questions.
Best Regards,
Maya Kirova
Infragistics, Inc.
http://es.infragistics.com/support
I want to select the multiselect igCombo items, provided method is not working when called after igCombo initilization. Please refer my example on http://jsfiddle.net/bezszjme/1/
This method $("#multiSelectCombo").igCombo("option", initialSelectedItems, [{index: 4}]); is not doing item selection on igCombo, where as it works only when provided selected items index defining igCombo
$("#multiSelectCombo").igCombo({ width: "270px", dataSource: colors, textKey: "Name", valueKey: "Name", multiSelection: { enabled: true }, initialSelectedItems: [{index: 2}] });
My requirement is to explicitly set selected Items, please provide solution for this if exist.
Hello Sachin,
Currently we provide 3 ways to selecet items from the combo, by using index, value or select methods. I have modified your sample in order to show you how to use them. I hope you will benefit from it:
http://jsfiddle.net/bezszjme/9/
Code snippet:
$("#singleSelectCombo").igCombo({ width: "270px", dataSource: colors, textKey: "Name", valueKey: "Name", dropDownOnFocus: true });
$("#multiSelectCombo").igCombo({ width: "270px", dataSource: colors, textKey: "Name", valueKey: "Name", multiSelection: { enabled: true }, initialSelectedItems: [ { index: 2 }, { index: 4 } ] });
$("#checkboxSelectCombo").igCombo({ width: "270px", dataSource: colors, textKey: "Name", valueKey: "Name", multiSelection: { enabled: true, showCheckboxes: true } }); // With 'index' $("#singleSelectCombo").igCombo("index", 0); // With 'value' $("#multiSelectCombo").igCombo("value", [ "White", "Yellow"]); //With 'select' $("#checkboxSelectCombo").igCombo("select", $.makeArray( $("#multiSelectCombo").igCombo("itemsFromIndex", 0).element, $("#multiSelectCombo").igCombo("itemsFromIndex", 1).element ), { } ); // This is also a valid definition //$("#checkboxSelectCombo").igCombo("select", $("#multiSelectCombo").igCombo("itemsFromIndex", 0).element.add($("#multiSelectCombo").igCombo("itemsFromIndex", 1).element), { });
Dear Team,
I am having an issue in using the below option.
initialSelectedItems: [{ index: 2 },{ index: 4 }]
1. If I set like above then the #checkboxSelectCombo works and shows as selected.
2. If I am construction the values based on my database value it does not shows.
for example :
var selString = "{ index: 2 }, { index: 4 }";
initialSelectedItems: [selString]
Could you please help on this Issue on how to use it
Thanks
Anosh