Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
JavaScript DHTML
Smartclient 388 codes
Home
JavaScript DHTML
Smartclient
1 A prompt() dialog
2 A warn() dialog
3 A Widget showing dragTargetResize on all edges
4 Add a custom cursor to the thumb
5 Add access key to form
6 Add an image to a Window
7 Add canvas to tab panel
8 Add canvas to TabSet
9 Add click event handler to Canvas
10 Add click event handler to page level
11 Add context menu to control
12 Add control to rollovered row
13 Add controls to window title bar
14 Add dropdown box to ListGrid
15 Add file upload control to form
16 Add HTMLPane to tab Panel and load htmlfile
17 Add keyboard listener to Label
18 Add label to a window
19 Add mouse handlers to set the thumbs state
20 Add mouse move event listener to page and set progress bar value
21 Add new row to ListGrid
22 Add node to tree
23 Add one Canvas to
24 Add or remove a tab
25 Add password field to form
26 Add rows to a ListGrid
27 Add section to SectionStack
28 Add shadow to a window
29 Add shortcut key to menu
30 Add tab to TabSet
31 Add tool bar to a form
32 Add value and sliderTarget properties, calculate new value when thumb is moved, send sliderMove message to sliderTarget when t
33 Add value setter and getter methods and use setter to init value
34 Add valueChanged() observable method
35 Add ViewLoader to TabSet
36 Advanced filering
37 AlternateRecordStyles
38 Animated row selection roll over
39 Animated tree
40 Animation
41 Ask for value dialog
42 Ask for YesNo dialog
43 Auto center
44 Autofil row count
45 Back button history management
46 Bind arrow key event to a page
47 Boolean value cell renderer and editor
48 Bounded Length Range Validation
49 Button event handler
50 Button with icon
51 Calendar
52 Call draw method to draw a label
53 Call scrollTo to scroll a canvas
54 Canvas
55 Canvas overflow
56 Cell double click event
57 Cell editing
58 Cell value format
59 Cell value hover tooltip
60 Change background image
61 Change button title
62 Change date format for ListGrid
63 Change draggable label layer
64 Change mouse cursor
65 Change title orientation for a form
66 Change tooltip for ComboBox
67 Checkbox column
68 CheckBox image button
69 CheckBox menu
70 Child widget used as a handle to resize its parent
71 Click the ListGrid to fill a form
72 Clickable form icon
73 Closable tab
74 Close all tree nodes
75 Close window
76 Column sort
77 Combobox with icon renderer
78 Compact calendar and event
79 Component reuse
80 Conditional required field
81 Confirmation based field validation
82 Confirmation dialog
83 Console for development
84 Control Img
85 Control image opacity
86 Control the animation sequence
87 Control the shadow
88 Convert track and thumb to StretchImg and Img widgets
89 Create a File menu
90 Create a Label
91 Create a Label and set HTML content
92 Create a ListGrid
93 Create a Tree Table
94 Create a window and set the title, left, right, top and width, height
95 Create Button with text label and icon
96 Create dropdown combobox
97 Create DynamicForm
98 Create FormLayout and layout text field, button
99 Create horizontal stack
100 Create Image object and add to Canvas
101 Create label for
102 Create ListGrid to hold droppable data
103 Create MenuBar from Menu
104 Create SectionStack
105 Create vertical stack
106 Create, position, and size the slider and its two children (_track and _thumb) make the thumb drag-repositionable
107 Custom editor
108 Custom event editing
109 Custom grouping
110 Customize tree skin
111 Customized animation path
112 Data bound calendar
113 Data bound dependent select field
114 Databound dependent select box for ListGrid
115 Date picker with default value
116 Date value renderer and editor
117 Day, week and month calendar
118 Decimal value editor and renderer
119 Define custom border for Label
120 Dependent select
121 Dependent selection
122 DetailViewer with data store
123 Disable and enable a button
124 Disable column sorting
125 Disable grid editing
126 Disable image button
127 Disable rows
128 Disable the sorting arrow
129 Disabled StretchImgButton
130 Display selected rows in another ListGrid
131 Drag and drop between ListGrid
132 Drag and drop between two grids
133 Drag and drop data to a grid
134 Drag and drop to a container
135 Drag and drop to copy rows
136 Drag and drop to move the rows between ListGrid
137 Drag and drop to reorder
138 Drag and drop to reorder a ListGrid
139 Drag and drop tree node
140 Drag effect
141 Drag handler
142 Drag pan
143 Drag snap to
144 Drag to move
145 Drag to move an Image object
146 Drag to reorder
147 Drag to reposition and resize a window
148 Drag to resize from any side, or from bottom and right only
149 Drag to select ListGrid rows
150 Drag tracker
151 Drag traker by setting color for drag over, drag out
152 Draggable
153 Drop over on widget intersection
154 Drop zone
155 Dropdown combobox with default value and value map
156 Dropdown menu and action listener
157 Dynamic grouping
158 Dynamic menu items
159 DynamicForm
160 Editable list Combobox
161 Editable ListGrid
162 Embed Javascript code to HTMLFlow
163 Embed ListGrid
164 Enable and disable a textbox by clicking a checkbox
165 Enable or disable the Toolbar
166 Error checking of newValue in setValue()
167 Event from parent
168 Event logging example
169 Event overlap
170 Expand and resize animation
171 Expand or collapse a section in section layout
172 Expandable table row
173 Extend setDisabled() to change visual state and cursor and init disabled state
174 Fetch Data from SearchForm
175 Field data source
176 Fill default value to text box
177 Filter ListGrid
178 Focus event
179 Form layout
180 Form submit button
181 Get cursor position from mouse clicked event
182 Get tab length
183 Group StretchImgButton to create RadioButtons
184 Grouped editing
185 Handle drag event
186 Header span
187 Hidden field
188 Hide close icon
189 Hide footer
190 Hide header icon
191 Horizontal layout header
192 Horizontal slider
193 Hover event
194 Hyper link in a ListGrid
195 Image button creation
196 Image cell renderer
197 Image click event and destroy itself
198 Image fade in and fade out
199 Image rollover action
200 Image zoom in and zoom out animation
201 ImgButton and action listener
202 Inline data
203 Inline Smartclient controls
204 Integer field
205 Integer value range field
206 Integer value renderer and editor
207 Label aligned to center
208 Label as member in a HLayout
209 Layout with tile grid
210 Linkable image in a ListGrid
211 List grid with Checkbox cell renderer
212 Listen to showContentMenu event
213 ListGrid autoFitData
214 ListGrid cell styling
215 ListGrid column alignment
216 ListGrid with calculated value
217 Load html content to HTMLPane
218 Load image to Img control
219 Load page to HTMLPane
220 Localized date format
221 Lower Bounded Integer Range
222 Lower Bounded Length Range Validation
223 Make slider thumb draggable calculate and set constrained thumb position when dragging
224 Mark field as required
225 Mass row update
226 Menu item icon, shortcut key, sub menu and checkbox menu
227 Menu on click event
228 Menu tree
229 Menu with icon
230 Menu with separator
231 Merge fields
232 Modal editing ListGrid
233 Modal window
234 Modal window dialog
235 Mouse inout event
236 Mouse move event
237 Move object by offset
238 Move to frontback to a layer
239 Multiple selection
240 Multiselect list box
241 Must be a boolean value
242 Must match field validation
243 Nested HLayout
244 Number slider
245 Number spinner
246 Number text field
247 Open all tree nodes
248 Outline drag
249 Outline Resize widget
250 Popup textarea for ListGrid cell editor
251 Portal animation
252 Position ColorPicker
253 Position the widgets
254 Prefill form value
255 Preset form field value
256 Preset form value
257 Progress bar creation and set percentDone
258 Prompt message dialog after dropping
259 Put a VLayout inside a HLayout
260 Put form controls(labels and textfields) into a tab panel
261 Put html tag into Label
262 Radiobutton and Checkbox
263 RadioButton Image button
264 Record click event
265 Refernece object by ID
266 Refresh from server
267 Regexp validation
268 Register key event to Page level
269 Related ComboBox
270 Remove node from tree
271 Remove section from SectionStack
272 Remove selected rows from ListGrid
273 Remove tab from TabSet
274 Replace style
275 Required field and hint
276 Reset button, submit button and button
277 Resizable window
278 Resize from Left and Right only
279 Resize HTMLFlow by
280 Resize HTMLFlow to
281 Resize section in a SectionStack
282 Resize snap to
283 Rollover recticle
284 Rounded row selection
285 Row editing
286 Scrollable window
287 Select a tab
288 Selected and Disabled StretchImgButton
289 Set and clear ListGrid data
290 Set autoDraw to true for Label
291 Set backgroundColor
292 Set column size
293 Set column title
294 Set content to HTMLPane
295 Set empty cell value
296 Set height, padding, style, align, valign, wrap, showEdges, showShadow for Label
297 Set icon orientation
298 Set image as the window edge
299 Set image for corner
300 Set label alignment
301 Set label content
302 Set layout Margin, member margin, min height and min width
303 Set ListGrid data
304 Set Scrollbar to scroll to
305 Set status for a window
306 Set string content to Canvas
307 Set style name for HTMLFlow
308 Set text content to a Canvas
309 Set view url for a TabSet
310 Setup fields for ListGrid
311 Show all, show first five
312 Show and hide columns
313 Show and hide header
314 Show event detailed info
315 Show Label edge
316 Show login Dialog
317 Show smartclient dialog after clicking the Button
318 Show YesNo dialog and get returning result
319 Showhide a control
320 Showhide form
321 Showhide SectionStack
322 ShowMinimizeButton
323 Simple ListGrid selection
324 Simple or Complex ColorPicker
325 Single selection
326 SmartClient animation programming
327 Smartclient portal
328 SmartClient RSS DataSource binding example
329 SmartClient RSS portlet example
330 Sort different data types
331 Specify skin directory and images
332 Standard button and big button
333 Static form label
334 StretchImgButton
335 Sub menu demo
336 Substring Count Validation
337 TabBarAlign
338 TabBarPosition
339 Table cell renderer
340 Table header rollover effect
341 Textbox format hint
342 Three level controls hierarchy and event propagation
343 TileGrid creation
344 Time field with default value
345 Toolbar button and action event listener
346 Toolbar demo
347 Turn rollover effect offon
348 Turn row styling onoff
349 Turn StretchImgButton a checkbox
350 Update label content
351 Upper Bounded Integer Range
352 Upper Bounded Length Range Validation
353 Use checkbox
354 Use ColorPicker to change page background color
355 Use CSS to style the ListGrid
356 Use expandable panel to edit table data
357 Use HTMLFlow to hold html content
358 Use HTMLFlow to hold html content and resize it
359 Use ImageButton
360 Use isc namespace to eliminate the possibility of JS name collisions
361 Use local data
362 Use radiobutton
363 Use rowSpacer to add space between rows
364 Use scroll bar to control the Canvas
365 Use slider to create a color mixer
366 Use Slider to resize HTMLPane
367 Use Slider to set the border width
368 Use TabSet to hold forms
369 Use Text box as the text editor
370 Use textarea
371 Use XJSONDataSource
372 Validation for ListGrid editing
373 Validation type
374 Value changed event for Slider
375 Value must be one of
376 Value must contain the substring
377 Value must not contain any spaces
378 Vertical Slider, min value, max value
379 Vertical tab
380 VLayout Demo
381 Web services data binding
382 Widget attachment
383 Window with status bar
384 Wipe in and wipe out
385 Workday calendar
386 Wrap cell value
387 WrapCells
388 Yes No Maybe Item