ExtJS源码分析与开发实例宝典-目录

zaki

贡献于2011-12-27

字数:0 关键词: ExtJS JavaScript框架

䥽㇤ IX 䥽 ㇤ 䶻 1 捷⒕ ㉺抮⏴桷 ····························································································· 1 䶻 1 䵯 Web Ⱁ㷳初⃌᧨⒬㘱 Ext JS ·········································································· 2 1.1 Ext JS 㢾⅏⃗ ································································································ 2 1.2 ⃉⅏⃗折㕸 Ext JS ··························································································· 3 1.3 Ⱁ⇤⃯ⷵ Ext JS ····························································································· 5 1.3.1 噆♥䄟䪐ㄅ捷刁 ····················································································· 5 1.3.2 ㆏♠ぴ␆䤓㤉厌㙟䯉 ··············································································· 5 1.3.3 㠖㫲✛⸭√䤓⃯ⷵ ·················································································· 8 1.3.4 ⃯ⷵ幉⧪ ····························································································· 9 1.4 Ext JS ⇢侊兢㨓 ····························································································· 9 1.4.1 ⇢侊兢㨓 ····························································································· 9 1.4.2 㠖ↅ兢㨓 ···························································································· 11 1.5 ⺞兢 ·········································································································· 13 䶻 2 䵯 Ext JS 3.0 ⸭√⏴桷 ···················································································· 14 2.1 ⑕⮖ぴ⇫᧨揜函䘾⬒ ······················································································· 14 2.2 䦚⇋丏◤䤓䤊㇤欄槱᧨椟塞Ⰼ⮶䤓ⷵ桽 ································································· 15 2.2.1 欄槱を⻏ ···························································································· 16 2.2.2 嫷◤を⻏ ···························································································· 18 2.2.3 洛幐䪐 ······························································································ 20 2.2.4 嫷◤洛幐 ···························································································· 21 2.2.5 嫷◤㙟ℳ ···························································································· 22 2.3 ⃊㫕㩅欄槱 ·································································································· 24 2.3.1 ⃊㫕㩅欄槱を⻏ ···················································································· 26 2.3.2 ふ扈⺋咹噫◤ ······················································································ 28 2.3.3 ⚂扈ぴ⇫◉⩮ ······················································································ 30 2.4 ⷟欄槱 ······································································································· 32 2.4.1 㟿㗽⮓䚕 ···························································································· 32 2.4.2 ⒦嫷 ································································································· 34 2.5 ⺞兢 ·········································································································· 35 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com Ext JS 䄟䪐⒕㨟₝㆏♠⸭√ X 䶻 2 捷⒕ 㫇㉒㔏㦾 ····························································································· 37 䶻 3 䵯 Ext JS 㫇㉒⪉䫏 ························································································· 38 3.1 其㔎䤓㓸⻤ ·································································································· 38 3.1.1 ⺈廰䤓其㔎 ························································································· 38 3.1.2 伊䤓其㔎 ···························································································· 39 3.1.3 Ext.extend 㓸⻤···················································································· 40 3.2 ⒌㟿䤓㓸⻤ ·································································································· 42 3.2.1 ⅝₏₹枨幾広怆 ···················································································· 42 3.2.2 ⒌㟿䤓Ᵽ㓧 ························································································· 43 3.3 㟿兓♙楕⚗ ·································································································· 44 3.3.1 JavaScript 㟿兓 ···················································································· 45 3.3.2 Ext JS 楕⚗㝜⇫ ···················································································· 46 3.4 String䤓懻㗱 ································································································ 50 3.4.1 String 懻㗱䤓⪉㦻䩴幕 ············································································ 50 3.4.2 String ✛ JSON 懻㗱 ················································································ 50 3.4.3 㩴幱ⷦ䶵⃁₝⺈廰懻㗱 ············································································ 52 3.5 Date 䤓∎䞷 ································································································· 53 3.5.1 㡴㦮㫋㆞▥ ························································································· 53 3.5.2 㡴㦮䤓㹣戒♙帰並 ················································································· 55 3.6 ⸩㢅↊┰ ····································································································· 56 3.6.1 㦘䕅㊐䤓⸩㢅↊┰丰䚕 ············································································ 56 3.6.2 ⸩㢅↊┰丰䚕⣷ ···················································································· 58 3.7 ⺞兢 ·········································································································· 60 䶻 4 䵯 ⇯㉔權䩴拢䤓 Ext JS ℚↅ㧉Ⓟ ······································································ 61 4.1 㿞屗⣷ℚↅ㧉Ⓟ ····························································································· 61 4.2 Ext JS⏒侯ℚↅ ····························································································· 63 4.2.1 Event ⺈廰 ·························································································· 63 4.2.2 EventManager ······················································································ 67 4.3 ⪉㦻ℚↅ㓸⻤ ······························································································· 71 4.3.1 DomReady ⮓䚕 ···················································································· 71 4.3.2 ㉺㘆枽䤓⸭䘿 ······················································································· 72 4.3.3 ⺋咹枽䤓⸭䘿 ······················································································· 74 4.3.4 熯㪖㖘⇞ℚↅ ······················································································· 75 4.4 Ext JS兓ↅℚↅ ····························································································· 76 4.4.1 ℚↅ⺈廰 ···························································································· 77 4.4.2 兓ↅ䤓ℚↅ㧉Ⓟ ···················································································· 78 4.4.3 ⪉ℝ㕵㒹䤓ℚↅ⸭䘿 ··············································································· 81 4.4.4 兓ↅ♙⏒侯ℚↅ兢⚗ ··············································································· 83 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com 䥽㇤ XI 4.5 㓸⻤ TabBox ℚↅ··························································································· 84 4.5.1 䎵䍈 ································································································· 84 4.5.2 㓸⻤ TabBox ⺋咹 ·················································································· 85 4.5.3 呹⸩⃘ TabBox ℚↅ ··············································································· 87 4.6 ⺞兢 ·········································································································· 89 䶻 5 䵯 㲰㨎㲰⨚᧨兓ↅ㆏♠䤓⪉䪂 ·········································································· 90 5.1 Ext JS 㲰㨎㰑承 ···························································································· 90 5.2 㷲⒨嫷才㆞⪉䫏 ···························································································· 91 5.2.1 㷲⒨嫷才㆞ㆤ㝝 ···················································································· 91 5.2.2 ⷦ䶵◈揜 ···························································································· 93 5.2.3 折㕸ᇬ⒕兓♙ㆤ䞷 ················································································· 95 5.3 㷲⒨嫷才㆞䤓∎䞷·························································································· 97 5.3.1 exec ✛ match ····················································································· 97 5.3.2 replace ⒌㟿 ······················································································· 97 5.4 ⪉㦻㲰㨎 ···································································································· 99 5.4.1 㲰㨎䤓㨓ㆉ ························································································· 99 5.4.2 ㄣ䞷┷㊐㟿㗽 ····················································································· 100 5.4.3 冥幠㲰㨎 ··························································································· 101 5.5 㓸⻤㲰㨎 ··································································································· 103 5.5.1 ⸭䘿☮䚕 ··························································································· 104 5.5.2 冥幠 Xtemplate 㲰㨎 ············································································· 107 5.5.3 ⃉ Xtemplate ㄣ䞷┷㊐㟿㗽 ····································································· 110 5.6 㲰㨎桽欧♙㟈扪 ··························································································· 110 5.6.1 㲰㨎䤓桽欧 ························································································ 110 5.6.2 桽欧䤓屲⑂ ························································································ 112 5.7 抩≰㇤䤓⸭䘿 ······························································································ 114 5.7.1 ㄣ䞷 DataView ···················································································· 115 5.7.2 㟿㗽⒕欄✛扖䅳 ··················································································· 117 5.7.3 抩≰㇤₼䤓≰㋾ ··················································································· 118 5.8 ⺞兢 ········································································································· 119 䶻 6 䵯 㟈⠓䞷㓆⇢洛᧨ℳ℡㟿㗽㲰⨚ ······································································ 120 6.1 Ajax 庆㻑 ··································································································· 120 6.1.1 ⅝几八抩≰◞帽㆏ⱚ ············································································· 120 6.1.2 㓚┷⸭䘿 Ajax ····················································································· 123 6.1.3 ≎Ⓒ⒌㟿常庒䞷㦃┯㡈≎ ········································································ 126 6.1.4 嫷◤庆㻑 ··························································································· 127 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com Ext JS 䄟䪐⒕㨟₝㆏♠⸭√ XII 6.1.5 恷⩮庆㻑 ·························································································· 131 6.2 Direct 庆㻑 ································································································ 134 6.2.1 Comet 庆㻑 ······················································································· 134 6.2.2 RPC 庆㻑 ·························································································· 137 6.3 ⅲ䚕庆㻑 ··································································································· 141 6.3.1 REST 歝㫋 ························································································· 141 6.3.2 ⅲ䚕庆㻑䤓⮓䚕扖䲚 ············································································· 142 6.3.3 MemoryProxy 䤓㓸⻤ ············································································ 145 6.4 㟿㗽屲㨟䤓⸭䘿 ··························································································· 147 6.4.1 ⸩⃘嫷兢㨓 ······················································································· 147 6.4.2 屲㨟嫷㟿㗽 ······················································································· 152 6.4.3 㟿兓屲㨟䤓㓸⻤ ·················································································· 156 6.5 㟿㗽⥭␨ ··································································································· 157 6.5.1 兓孔庆㻑♑㟿 ····················································································· 157 6.5.2 ≬⃚ⷧ⚝㦃㠿 ····················································································· 159 6.6 㟿㗽ⷧ⌷ ··································································································· 160 6.6.1 㨓ㆉ Store ⺈廰 ·················································································· 160 6.6.2 戌⏴㟿㗽 ·························································································· 162 6.6.3 ≬ⷧ㟿㗽 ·························································································· 164 6.7 DWR㟿㗽ℳ℡ ···························································································· 166 6.7.1 DWR 庆㻑㓸⻤ ···················································································· 167 6.7.2 DWR 㟿㗽屲㨟 ···················································································· 169 6.7.3 CRUD 㝜⇫ ························································································ 171 6.8 ⺞兢 ········································································································ 172 䶻 3 捷⒕ ⪉ℝ⏒侯䤓㆏♠ ················································································· 173 䶻 7 䵯 ⏒侯㓸⻤᧨常㆏♠㦃䌄㿊············································································ 174 7.1 Ext. DomHelper 伊 ······················································································· 174 7.1.1 ⏒侯⒪ㆉ ·························································································· 174 7.1.2 ⏒侯㙡⏴ ·························································································· 175 7.2 Ext.DomQuery 伊 ························································································· 178 7.2.1 ⸭䘿☮䚕 ·························································································· 179 7.2.2 㩴幱♙扖䅳⸭䘿 ·················································································· 180 7.2.3 冥幠屲㨟 ·························································································· 182 7.3 Ext JS⏒侯㩅㨓 ··························································································· 185 7.3.1 Ext.Element ⏒侯 ················································································ 185 7.3.2 Ext.CompositeElementLite ····································································· 187 7.4 嫷◤⸭√ ··································································································· 189 7.4.1 ⸭䘿ㄅ戌⏴嫷◤ ·················································································· 189 7.4.2 帰並䦇␂忈䞷 ····················································································· 191 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com 䥽㇤ XIII 7.5 ⺞兢 ········································································································· 195 䶻 8 䵯 Ext JS 㫆㆞䤓⸛初ㄣ䞷 ··············································································· 196 8.1 㫆㆞⪉㦻㝜⇫ ······························································································ 196 8.1.1 ⒪ㆉ⏒侯 ··························································································· 197 8.1.2 ⏒侯⸩⇜ ··························································································· 198 8.1.3 ♾展♙␅Ⅵ ························································································ 199 8.2 JS㝜⇫㫆㆞ ······························································································· 200 8.2.1 style 䤓㝜⇫ ······················································································· 201 8.2.2 class 䤓㝜⇫ ······················································································· 203 8.2.3 ┷㊐┯⏴ CSS Rules ··············································································· 204 8.2.4 摜㨓⸒ⅻ ··························································································· 206 8.3 Dimensions 㝜⇫ ··························································································· 207 8.3.1 ⹌浧㝜⇫ ··························································································· 208 8.3.2 ⧟㪖⸩⇜㝜⇫ ····················································································· 211 8.3.3 摜㨓⸒ⅻ ··························································································· 214 8.4 䦇⺈⸩⇜₝儵㧮 ··························································································· 215 8.4.1 ⏒侯䦇⺈⸩⇜ ····················································································· 216 8.4.2 scroll ⸩⇜ ························································································· 219 8.4.3 Resize ⏒侯⸩⇜䤓⸭䘿 ·········································································· 220 8.5 ImageCropper 䤓⸭䘿····················································································· 224 8.5.1 ⒪ㆉ⹈⣷ ··························································································· 225 8.5.2 ⒪ㆉₘ⻑⦍䓖ㄅ戌⏴ ············································································· 226 8.5.3 ⒬ⱚ▥ Resize ✛㕥㦂 ············································································ 227 8.5.4 㣍䯉折㕸␔⹈ ····················································································· 229 8.6 ⺞兢 ········································································································· 231 䶻 9 䵯 常 Web 欄槱┷怆㧴 ··················································································· 232 9.1 ┷䟊䤓☮䚕 ································································································· 232 9.1.1 ☮䚕⸭䘿 ··························································································· 232 9.1.2 㟈扪䤓⸭䘿 ························································································ 234 9.2 Ext JS ┷䟊⸭䘿 ··························································································· 237 9.2.1 Ext JS ┷䟊丰䚕⣷ ················································································ 237 9.2.2 ┷䟊⺈廰 ··························································································· 238 9.3 ┷䟊䤓扪₏㷴䂀⏴························································································· 243 9.3.1 ┷䟊伊⨚ ··························································································· 243 9.3.2 ┷䟊並㽤 ··························································································· 247 9.3.3 Fx 䔈㟗⮓䚕 ······················································································· 251 9.4 㓸⻤ Ext JS 䩱摞⦍ ························································································ 254 9.4.1 excanvas ⪉㦻ㄣ䞷 ··············································································· 254 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com Ext JS 䄟䪐⒕㨟₝㆏♠⸭√ XIV 9.4.2 excanvas 浧儶ㄣ䞷 ·············································································· 261 9.5 ℳ℡㆞┷䟊㔴嫷⦍ ························································································ 266 9.5.1 ⪉㦻㔧兎⦍ ······················································································· 266 9.5.2 ┷䟊䤓⸭䘿 ······················································································· 273 9.5.3 ℳ℡㆞折㕸䤓⸭䘿 ··············································································· 275 9.5.4 ToolTip 䤓⸭䘿 ··················································································· 279 9.6 ⺞兢 ········································································································ 282 䶻 10 䵯 㕥㦂㔏㦾᧨常䞷㓆⃮┷怆㧴 ······································································· 283 10.1 Ext JS 㕥㦂☮䚕ⓥ㨟 ···················································································· 283 10.1.1 Ⱁ⇤折₼⏒侯 ·················································································· 283 10.1.2 Ⱁ⇤⸭䘿熯㪖䲊┷⇜函 ······································································· 284 10.1.3 Ⱁ⇤䫽⸩⏒侯䥽㪖⇜函 ······································································· 285 10.2 Ext JS 㕥㦂㩅㨓 ························································································· 285 10.2.1 㕥㦂␀㊶⮓䚕 ·················································································· 285 10.2.2 㕥㦂₹㊶⮓䚕 ·················································································· 289 10.3 㕥㦂ㇱ㆞䤓折㕸欧ㄣ䞷 ················································································· 297 10.3.1 折㕸欧䤓⸭䘿 ·················································································· 297 10.3.2 折欈㕥㦂䤓⸭䘿 ··············································································· 299 10.4 㕥㦂浧儶㓸⻤ ···························································································· 303 10.4.1 㕥㦂⏒侯䕅㊐⮓䚕············································································· 304 10.4.2 䥽㪖⏒侯䕅㊐⮓䚕············································································· 306 10.4.3 㔙㕥㦂䥽㪖✛㕥㦂⏒侯冋⚗怆㧴 ···························································· 311 10.5 㕥㦂⸩Ⓟ㿐䲚 ···························································································· 315 10.5.1 ⪉㦻䤓㿐䲚⦍ ·················································································· 315 10.5.2 㕥㦂䤓⸭䘿 ····················································································· 319 10.5.3 㕥㦂䤓⸛⠓ ····················································································· 324 10.6 ⺞兢 ······································································································· 327 䶻 4 捷⒕ 䂀⏴兓ↅ䤓㆏♠ ················································································· 329 䶻 11 䵯 Ext JS 兓ↅ㲰⨚䤓㩅㨓屲㨟 ······································································ 330 11.1 帳幕 Ext JS 兓ↅ ························································································· 330 11.2 䞮✌⛷㦮幍帰 ···························································································· 332 11.2.1 ⒬ⱚ▥ ·························································································· 332 11.2.2 䃁㩢嫷䘿 ······················································································· 334 11.2.3 枏㹐兓ↅ᧨摙㟍侊兮忓䄟····································································· 335 11.3 ♾㓸⻤㊶幍帰 ···························································································· 337 11.3.1 伊其㔎䤓㞾㖐 ·················································································· 337 11.3.2 ℚↅ䤓㞾㖐 ····················································································· 337 11.3.3 㙡ↅ䤓㞾㖐 ····················································································· 338 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com 䥽㇤ XV 11.3.4 ♾揜函䤓㞾㖐··················································································· 338 11.3.5 㲰㨎㡈㽤䤓㞾㖐 ················································································ 339 11.4 ♾丰䚕㊶幍帰····························································································· 339 11.4.1 ⏷⻏兮₏丰䚕··················································································· 339 11.4.2 兓ↅ伊Ⓔ丰䚕··················································································· 340 11.4.3 ␔捷䕅㊐丰䚕··················································································· 340 11.5 兓ↅ⒕㨟㽤 ······························································································· 343 11.5.1 䞮✌⛷㦮⒕㨟··················································································· 343 11.5.2 揜函欈⒕㨟 ····················································································· 345 11.5.3 㡈㽤♙⻭㊶⒕㨟 ················································································ 345 11.5.4 ℚↅ⒕㨟 ························································································ 347 11.5.5 兓ↅ䔈㊶ ························································································ 347 11.6 Ⱁ⇤呹⸩⃘兓ↅ ·························································································· 348 11.6.1 兓ↅ䤓榏㻑 ····················································································· 348 11.6.2 㖘䞮✌⛷㦮㧴冥␨兓ↅ ········································································ 348 11.6.3 摜㨓 ····························································································· 349 11.6.4 冥␨㠖㫲 ························································································ 350 11.7 ⺞兢 ······································································································· 350 䶻 12 䵯 Ext JS 槱㨎᧨≰㋾㙟䯉㦃ⅉ㊶▥ ································································· 351 12.1 㿽┷⻑᧤Layer᧥ ························································································· 351 12.1.1 shim ⸭䘿 ······················································································· 351 12.1.2 shadow ⸭䘿 ···················································································· 352 12.1.3 儵㧮⸩⇜ ························································································ 355 12.1.4 㿽┷⻑㣍䯉 ····················································································· 357 12.2 ⹈⣷᧤Container᧥を⻏ ················································································· 359 12.2.1 䞮✌⛷㦮⒕㨟··················································································· 359 12.2.2 ⹈⣷䔈㊶ ························································································ 361 12.3 槱㨎᧤Panel᧥を⻏ ······················································································ 363 12.3.1 槱㨎兓㒟 ························································································ 363 12.3.2 槱㨎㫆㆞ ························································································ 367 12.3.3 槱㨎䤓㔧♯/⻤㆏ ·············································································· 370 12.4 䴦⇢᧤Window᧥を⻏ ··················································································· 372 12.4.1 㦏⮶㦏⺞▥ ····················································································· 372 12.4.2 㟈♧⮶⺞ ························································································ 375 12.4.3 䴦⇢㣍䯉桽欧··················································································· 376 12.5 ぴ␆㙟䯉 ·································································································· 377 12.5.1 Ext.Tip 伊 ······················································································· 377 12.5.2 Ext.ToolTip 伊 ·················································································· 378 12.5.3 Ext.QuickTip 伊 ················································································ 379 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com Ext JS 䄟䪐⒕㨟₝㆏♠⸭√ XVI 12.6 㺣䚒㙟䯉᧤BalloonTip) ················································································· 382 12.6.1 ⸭䘿 BalloonTip 兓ↅ ········································································· 383 12.6.2 扪₏㷴⸛⠓ ····················································································· 388 12.7 ⺞兢 ······································································································· 393 䶻 13 䵯 Ext JS ◝⃌䤓⹈⣷を⻏ ············································································ 394 13.1 帳幕を⻏䤓㿐䲚 ························································································· 394 13.1.1 を⻏㰑承 ······················································································· 394 13.1.2 を⻏䤓㿐䲚 ····················································································· 395 13.2 Border を⻏ ······························································································ 397 13.2.1 Ⱁ⇤䃁㩢 ······················································································· 398 13.2.2 Ⱁ⇤帰並を⻏◉⩮············································································· 399 13.2.3 Ⱁ⇤⸭䘿㔧♯₝⻤㆏ ·········································································· 402 13.3 枩⸩⇜を⻏······························································································· 405 13.3.1 AnchorLayout を⻏ ············································································ 405 13.3.2 AbsoluteLayout を⻏·········································································· 407 13.3.3 FormLayout を⻏ ·············································································· 408 13.4 呹抑ㄣを⻏······························································································· 409 13.4.1 FitLayout ······················································································· 410 13.4.2 AccordionLayout ·············································································· 410 13.4.3 CardLayout ···················································································· 412 13.5 嫷嫛⒦を⻏······························································································· 413 13.5.1 ColumnLayout ················································································· 413 13.5.2 RowLayout ····················································································· 414 13.5.3 TableLayout···················································································· 415 13.6 Box を⻏ ·································································································· 418 13.7 Ⱁ⇤㓸⻤ TableFormLayout ············································································ 420 13.8 ⺞兢 ······································································································· 422 䶻 14 䵯 Ext JS Form 䤓ℳ℡㆞嫷◤ ········································································ 423 14.1 FormPanel 勩㟲⦿ ······················································································· 423 14.1.1 Form ␂侊⦍ ··················································································· 423 14.1.2 ₝ BaseForm ␂勣 ············································································· 425 14.1.3 ₝ Field ␂勣 ··················································································· 426 14.1.4 洛幐㝜⇫ ······················································································· 427 14.1.5 㟿㗽⮓䚕 ······················································································· 429 14.1.6 FieldSet ························································································ 433 14.2 Field 兓ↅ ································································································ 434 14.2.1 Field 䤓⒪ㆉ ··················································································· 435 14.2.2 Field 䤓洛幐 ··················································································· 436 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com 䥽㇤ XVII 14.3 㠖㦻戢⏴兓ↅ····························································································· 438 14.3.1 ◤嫛㠖㦻戢⏴兓ↅ ············································································· 438 14.3.2 ⮩嫛㠖㦻戢⏴兓ↅ ············································································· 441 14.3.3 㠖㦻冥戠兓ↅ··················································································· 442 14.4 折㕸兓ↅ ·································································································· 447 14.4.1 ◤₹折㕸兓ↅ··················································································· 447 14.4.2 折㕸兓 ··························································································· 448 14.5 ₚ㕘兓ↅ ·································································································· 452 14.5.1 TriggerField ···················································································· 452 14.5.2 Combox ························································································· 454 14.5.3 ⮩折兓ↅ㓸⻤··················································································· 459 14.6 㽷␛欄槱䤓⸭䘿 ·························································································· 465 14.6.1 ⪉㦻䤓 Form 兓ↅㄣ䞷 ········································································ 465 14.6.2 ₙ↯⮓䚕 ························································································ 468 14.7 ⺞兢 ······································································································· 471 䶻 15 䵯 Ext Grid 兓ↅ常㟿㗽㦃䦃屑 ········································································ 472 15.1 帳幕 Ext JS 䤓 Grid······················································································ 472 15.1.1 㰑承 ····························································································· 472 15.1.2 Ⱁ⇤⒪ㆉ GridPanel ············································································ 473 15.1.3 GridPanel Ⱁ⇤扟嫛 ············································································ 474 15.1.4 ♾冥戠䤓 GridPanel ············································································ 476 15.2 ⒦㲰㆞····································································································· 480 15.2.1 CM ⒕㨟 ························································································· 480 15.2.2 CM 䤓浧儶ㄣ䞷 ················································································· 482 15.3 折㕸㲰㆞ ·································································································· 485 15.3.1 RowSelectionModel ············································································ 485 15.3.2 CheckboxSelectionModel ····································································· 488 15.4 展⦍ ······································································································· 489 15.4.1 Grid 䞮㒟 HTML ␔⹈ ·········································································· 489 15.4.2 Ⱁ⇤㨓ㆉ嫷兢㨓 ················································································ 491 15.4.3 ⺋⏴㟿㗽 ························································································ 495 15.4.4 抩扖㿐䲚扪₏㷴⒕㨟··········································································· 497 15.5 ⒕欄㪞····································································································· 499 15.5.1 戌⏴㟿㗽扪嫛㣍䯉 ············································································· 500 15.5.2 庆㻑㟿㗽 ························································································ 501 15.6 ⺈ Grid 䤓㟈扪 ··························································································· 502 15.6.1 ₚ㕘㫕冥戠䤓桽欧 ············································································· 502 15.6.2 ⿛⯦嫷㫋䤓桽欧 ················································································ 505 15.6.3 ⮩嫷⯃㝜⇫ ····················································································· 507 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com Ext JS 䄟䪐⒕㨟₝㆏♠⸭√ XVIII 15.7 ◤⏒㫋⸭䘿恷⒦扟並 ···················································································· 509 15.7.1 ◤⏒㫋⮩折㲰㆞ ··············································································· 510 15.7.2 ⏻㆞兮帰帰並 ·················································································· 512 15.7.3 ㄣ䞷⸭√ ······················································································· 515 15.8 ⺞兢 ······································································································· 516 䶻 16 䵯 䂀⏴ Ext JS 䤓㪠ㇱ⻤䯉 ··········································································· 517 16.1 㪠兓ↅ䤓☮䚕 ···························································································· 517 16.2 Ext JS 㪠兓ↅ䤓⒕㨟 ···················································································· 519 16.2.1 㪠䤓⒪ㆉ ······················································································· 520 16.2.2 㪠䤓䞮✌⛷㦮⒕㨟············································································· 520 16.3 㪠兓ↅ唑䍈······························································································· 522 16.3.1 ⪉㦻唑䍈 ······················································································· 522 16.3.2 TreeNode 伊 ··················································································· 523 16.4 㪠兓ↅ䤓ℚↅ ···························································································· 529 16.4.1 ℚↅ䤓㿐䲚 ····················································································· 529 16.4.2 ℚↅ䤓折㕸㲰㆞ ··············································································· 532 16.5 ⸛⠓㪠䤓┮厌 ···························································································· 533 16.5.1 㪠䤓㟿㗽 ······················································································· 533 16.5.2 冥戠ᇬ扖䅳♙㘡ㄞ············································································· 536 16.6 ECOTree 䤓⸭䘿 ························································································· 540 16.6.1 㪠䤓⪉㦻⸭䘿 ·················································································· 541 16.6.2 唑䍈䤓⸭䘿 ····················································································· 547 16.6.3 㔧♯ᇬ冥戠ᇬ㕥㦂♙␅Ⅵ⸛⠓ ······························································· 550 16.7 ⺞兢 ······································································································· 554 䶻 17 䵯 ⪉ℝ Ext JS Menu 兓ↅ䤓㉺抮㆏♠ ····························································· 555 17.1 Action 伊 ································································································· 555 17.1.1 Action 伊䤓⇫䞷 ··············································································· 555 17.1.2 Action 伊䤓扟嫛㿐䲚 ·········································································· 556 17.2 Button 伊 ································································································· 558 17.2.1 䞮✌⛷㦮 ······················································································· 558 17.2.2 㫆㆞⮓䚕 ······················································································· 559 17.2.3 䕅㊐⒖㗱 ······················································································· 560 17.3 ㆏♠₹㊶䤓ぴ␆㪞······················································································· 562 17.3.1 Ⱁ⇤屲㨟ぴ␆欈 ··············································································· 562 17.3.2 Ⱁ⇤扪嫛を⻏ ·················································································· 563 17.3.3 䵥ㇱぴ␆㪞䤓⸭䘿············································································· 566 17.4 呹む㧴幍帰噫◤㪞······················································································· 568 17.4.1 噫◤䤓㣍䯉 ····················································································· 568 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com 䥽㇤ XIX 17.4.2 噫◤䤓┷⇫ ····················································································· 570 17.5 伊 UE 冥戠⣷䤓⸭䘿 ····················································································· 572 17.5.1 ⪉㦻䤓冥戠⣷··················································································· 572 17.5.2 㿊┷ぴ␆㪞 ····················································································· 574 17.6 ⺞兢 ······································································································· 577 Click to buy NOW! PDF-X C hange w w w . d o c u - t r a c k.com

下载文档,方便阅读与编辑

文档的实际排版效果,会与网站的显示效果略有不同!!

需要 3 金币 [ 分享文档获得金币 ] 5 人已下载

下载文档

相关文档