EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 08:32:42 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
editor combogrid on datagrid won't fill column with real value
Pages: [
1
]
« previous
next »
Print
Author
Topic: editor combogrid on datagrid won't fill column with real value (Read 7029 times)
Opan Mustopah
Full Member
Posts: 164
Indonesia
editor combogrid on datagrid won't fill column with real value
«
on:
January 01, 2015, 11:05:35 PM »
hello again,
i have a problem with combogrid editor on datagrid, like title said's,
see pic editable datagrid.png
on that pic has already columns name ID group, organization base, and themes right? .
all those three columns is using combogrid editor on datagrid. and all of them is lookup or it means they request data from server.
just get one field for example, i'll get themes column,
said themes is request from server and i set idField with 'theme_id' then textField with 'theme_name' on combogrid options on datagrid.
example data :
theme_id theme_name
1 default
2 ui-cupertino
when i choose 'default' on combogrid options, combogrid value will change into '1' right? and so on. and then save the record, no problem until here.
but when i want to edit that record, example 'MASTERROOT' on that pic, themes columns won't load value with theme_id, but with theme_name. if we wan't change themes column value we must choose the options again and value will change. how to fix this?
i need for all combogrid editor on datagrid is contains value just like when he created (value always fill with theme_id, and text is theme_name). is it clear? sorry for my confusing explanation for me. hope you guys understand what i want.
thanks in advance
Logged
-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
stworthy
Administrator
Hero Member
Posts: 3581
Re: editor combogrid on datagrid won't fill column with real value
«
Reply #1 on:
January 02, 2015, 08:20:24 AM »
You may need to show some code snippets to describe how you define the datagrid and combogrid editors.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...