EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 30, 2024, 06:56:00 PM
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
>
Datagrid: Set a Column editable
Pages: [
1
]
« previous
next »
Print
Author
Topic: Datagrid: Set a Column editable (Read 6108 times)
Andy1980
Newbie
Posts: 14
Datagrid: Set a Column editable
«
on:
March 18, 2014, 08:47:01 AM »
Hi all,
i want to have a datagrid, with
two columns
in which
every field is editable
.
I just find examples about editing rows, but not columns.
How would i do this?
And is there a option, to set a validator to all the fields ( like field 1 is lesser then field 2 ), so if I click a save button, the validator is fired an every
row
will be validated on it's own.
Thanks.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Datagrid: Set a Column editable
«
Reply #1 on:
March 18, 2014, 08:56:03 PM »
Do you want to achieve cell editing? If so, please refer to this example
http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=Cell%20Editing%20in%20DataGrid
.
Logged
Andy1980
Newbie
Posts: 14
Re: Datagrid: Set a Column editable
«
Reply #2 on:
March 18, 2014, 11:37:07 PM »
Yes i want achieve cell editing, although not for a single field, but for the whole column.
lets say the datagrid has columns 1 to 5.
I want col 3 and 4 to be editable, with a input field in every single rows.
But the editor should not just appear when clicking a button or in a cell, the editors should be ready at the start, for the whole column.
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...