C# Class Ext.Net.Examples.SimpleTasks.TasksGrid

显示文件 Open project: extnet/Ext.NET.Examples Class Usage Examples

Private Properties

Property Type Description
AddTask bool
AddTasks void
BindTasks void
BuildColumnModel void
BuildContextMenu void
BuildHeaderRow void
BuildStore void
DeleteTasks bool
InitLogic void
MarkTask void
SaveTask void

Public Methods

Method Description
Command_Event ( object sender, DirectEventArgs e ) : void
OpenClick_Event ( object sender, DirectEventArgs e ) : void
RowDblClick_Event ( object sender, DirectEventArgs e ) : void
TasksGrid ( ) : System
TasksGrid_RefreshData ( object sender, StoreReadDataEventArgs e ) : void
ToggleStatus ( int taskIds, bool status, int categoryID, string filter ) : bool

Protected Methods

Method Description
DelClick_Event ( object sender, DirectEventArgs e ) : void
MarkClick_Event ( object sender, DirectEventArgs e ) : void
OnLoad ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void

Private Methods

Method Description
AddTask ( string title, int categoryID, System.DateTime due ) : bool
AddTasks ( Category category, List allTasks, bool filter ) : void
BindTasks ( int categoryID, string filter ) : void
BuildColumnModel ( ) : void
BuildContextMenu ( ) : void
BuildHeaderRow ( ) : void
BuildStore ( ) : void
DeleteTasks ( int taskIds ) : bool
InitLogic ( ) : void
MarkTask ( int taskId, bool complete, int categoryID, string filter ) : void
SaveTask ( int taskId, JsonObject values ) : void

Method Details

Command_Event() public method

public Command_Event ( object sender, DirectEventArgs e ) : void
sender object
e DirectEventArgs
return void

DelClick_Event() protected method

protected DelClick_Event ( object sender, DirectEventArgs e ) : void
sender object
e DirectEventArgs
return void

MarkClick_Event() protected method

protected MarkClick_Event ( object sender, DirectEventArgs e ) : void
sender object
e DirectEventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

OpenClick_Event() public method

public OpenClick_Event ( object sender, DirectEventArgs e ) : void
sender object
e DirectEventArgs
return void

RowDblClick_Event() public method

public RowDblClick_Event ( object sender, DirectEventArgs e ) : void
sender object
e DirectEventArgs
return void

TasksGrid() public method

public TasksGrid ( ) : System
return System

TasksGrid_RefreshData() public method

public TasksGrid_RefreshData ( object sender, StoreReadDataEventArgs e ) : void
sender object
e StoreReadDataEventArgs
return void

ToggleStatus() public method

public ToggleStatus ( int taskIds, bool status, int categoryID, string filter ) : bool
taskIds int
status bool
categoryID int
filter string
return bool