Hello All,
I ‘m trying to fix an issue on which you could help me:
I have a grid with inline edit…. working well so far
the problem is that the value option of editoptions has Items with the same label (the id is unique)
For some reason when I pick up an Item from the drop down, jq grid is going to always pickup the first Item. In the exemple in below if I choose Item 11:Id that’s in fact 1:Id that is going to be written in db
|
1 |
editoptions: {<br /> value: "1:Id;2:Entity;3:Column;4:Id instance;6:Value;11:Id;12:Entity;13:Sql name;14:Name;15:Custom;16:Enumeration;17:Key;18:Link;19:Rank;20:Linked Entity;21:Column Width;22:Type;23:Icon;24:Can be null;25:Entity linked filter;30:Id;31:Name;32:Appl. Type;33:DB Type;40:Id;41:Sql name;42:Name;43:Has attachments;44:Has data set;45:Enumeration;46:Code;47:Label;48:Default;49:Icon;50:Id;51:Name;52:Main domain;53:Controller;54:Parent;55:Rank;56:Sort;60:Id;61:Code;62:Data set;63:Id;64:Code;65:Name;66:First name;67:Last name;68:Company;69:Type;70:Relation;71:Data set;72:Id;73:Internal name;74:Name;75:Main entity;80:Id;81:Entity;82:Grid name;83:Grid displayed name;84:Minimum rank;85:Maximum rank;86:Has context menu;87:Edit;88:Pager;89:Width;90:Height (or 'auto');91:Auto width;92:Collapse;93:Lines per page;94:Sortable;95:Count records;96:Pager position;97:Counter position;98:Id;99:Page entity;100:Page icon;101:Type;102:Name;103:Page title;104:Id;105:Icon name;106:File;107:Id;108:Page;109:Name;110:Type;111:Sort;112:Columns;113:Width;114:Parent;115:Column;116:Id;117:Page;118:Section;119:Type;120:Entity column;121:Grid;122:Label;123:Sort;124:Column;125:Grid filter;130:Application message;131:Code;132:Severity;133:Area;134:Message text;135:Id;136:User;137:Active;138:Filter;139:Page;140:Id;141:Entity;142:Instanciated entity;143:User;144:Type;145:Filter label;146:Active;1001:Id;1002:Code;1003:Label;1004:Description;1005:Geographic zone;1006:Icon;1007:Data Set;1008:Custom"<br />}<br /><br />I'm runing in version 3.8.1 , jquery 1.4.2<br /> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top