-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathactioncolumns-edit.html
More file actions
46 lines (42 loc) · 1.68 KB
/
actioncolumns-edit.html
File metadata and controls
46 lines (42 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Actioncolumns edit & view</title>
<!-- ExtJS -->
<link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.1.0-gpl/resources/css/ext-all-gray.css" />
<script src="http://cdn.sencha.io/ext-4.1.0-gpl/ext-all.js" type="text/javascript"></script>
<!-- Example -->
<script type="text/javascript" src="https://raw.github.com/werdender/ext4examples/master/js/actioncolumns-edit.js" charset="utf-8"></script>
<style>
body {
padding:20px;
padding-top:32px;
}
p {
margin-bottom:10px;
margin-top:10px;
}
h1 {
font-size:18px;
margin-bottom:20px;
}
#grid {
position: absolute;
top: 50%;
margin-top: -100px;
left: 50%;
margin-left: -250px;
}
.x-action-col-icon {
cursor: pointer;
}
</style>
</head>
<body>
<h1>Actioncolumn example</h1>
<p>Answer to question on <a href="http://stackoverflow.com/questions/14661949/extjs-how-to-edit-delete-a-row-in-a-grid-model-using-a-button-inside-the-gird/14662057">stackowerflow</a></p>
<p>The js is not minified so it is readable. See <a href="https://github.com/werdender/ext4examples/blob/master/js/actioncolumns-edit.js">actioncolumns-edit.js</a>.</p>
<div id="grid"></div>
</body>
</html>