EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 11:08:44 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
>
General Discussion
>
Update a particular cell in datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Update a particular cell in datagrid (Read 9956 times)
cucux
Newbie
Posts: 5
Update a particular cell in datagrid
«
on:
July 30, 2014, 12:06:29 AM »
Hello all,
I want to update a particular cell in datagrid based on a selection from an outside combobox.
I want something like this:
rows['i']['j']('setValue', val);
val is the combobox text
Can this be done?
I did not found an example.
Best regards,
Catalin
«
Last Edit: July 30, 2014, 12:32:24 AM by cucux
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Update a particular cell in datagrid
«
Reply #1 on:
July 30, 2014, 02:13:07 AM »
Please call 'updateRow' method to update a specified cell.
Code:
$('#dg').datagrid('updateRow',{
index: index,
row:{
field: val
}
});
Logged
cucux
Newbie
Posts: 5
Re: Update a particular cell in datagrid
«
Reply #2 on:
July 30, 2014, 02:23:18 AM »
Thank you!
Work like charm.
Best regards,
Catalin
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...