Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/evege (3-Jul @ 17:30)
Syntax Highlighted Code
- class ClientsWorkspace(ExtJSONView):
- context(my_application)
- contains('clients') #the id of the container
- listing_fields(['name','email',]) #columns for the ExtJSGrid
- default_view('addform') #a view that return a ExtForm in JSON format
- bind_url('editclient') #the view that will return the JSON to show on click event
Plain Code
class ClientsWorkspace(ExtJSONView):
context(my_application)
contains('clients') #the id of the container
listing_fields(['name','email',]) #columns for the ExtJSGrid
default_view('addform') #a view that return a ExtForm in JSON format
bind_url('editclient') #the view that will return the JSON to show on click event