Hello,
I am trying to execute the following example on my computer:http://samples.infragistics.com/jquery/combo-box/grid-editor
and the combo box never appears on my grid.
see the attachment
What wrong? I am copying and pasting the code and nothing works...
we have the license Ultimate 2011.2 and I have installed everything.
Thanks in advance
Hello IccAppSupport,
You can install our sample son your local machine and after that when you go to Infragistics folder, 2011.2, jQuery and there open Samples and runt the solution this includes all samples from our samples browser.
I hope this helps.
For any further assistance do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Finally it worked!
thanks
Hi,
I'll try to give you small pieces, so let me know if it helps you:
<script type="text/javascript">
$(function () {
"use strict";
//confidentiality combobox-----------
var confidentialityJSON = [];
var confList = '<%= ViewData["ConfidentialityList"] %>';
var array = confList.split(" ,");
$.each(array, function(index, item){
var newObj = $.parseJSON(item);
confidentialityJSON[index] = newObj;
});
$("#igGrid1").igGrid({
dataSourceUrl: "<%= Url.Action("GetDocuments") %>",
autoGenerateColumns: false,
primaryKey: "AnnexID",
databind: true,
autoCommit: true,
columns: [ ...
{ headerText: "Level of Confidentiality*", key: "Confidentiality", dataType: "string", width: "150px" }
],
features: [
{
name: 'Updating',
enableAddRow: false,
enableDeleteRow: true,
columnSettings: [{
//The combo is defined as an editor provider. Combo options are defined under 'editorOptions'.
columnKey: "Confidentiality",
editorType: 'combo',
required: true,
editorOptions: {
mode: "dropdown",
dataSource: confidentialityJSON,
textKey: "Name",
readOnly: true,
valueKey: "Name"
}
},
...
Even we are facing same issue. Can you please provide your solution?
If you could share a sample project of this, that would be great. We have kept same settings for combo-box column but no luck.
Let me know if you need more information.
Thanks.