補充部分官方文件裡沒有的ClientLibrary以及程式碼提示Schema更新(二)
<itemView />
<listView />
<dataSource />
<dataView />
<dataNavigator />
<xmlDataSource />
<xsltView />
<sortBehavior />
<propertyFilter />
請點選這裡下載,所有的下載連結均已更新。使用方式可以見我前一篇文章《為VS.NET 2005增加Atlas Scripts的程式碼提示功能》,那裡的Schema下載也以更新。
另外,XMLDataSource也出現了DataNavigator類似的問題,在它的程式碼裡有:
var td = Sys.Data.DataSource.callBaseMethod(this, `getDescriptor`);
…
return td;
}
又是“Sys.Data.DataSource.callBaseMethod”了。哎,它們Code Review沒有看出來嗎?還好,似乎對結果沒有什麼影響……
以下是我寫的Client Library,希望對大家有所幫助。
ItemView Class
A control designed for viewing a single record at a time.
Syntax
Javascript
.
.
c.initialize();
Declarative
accessKey=”accelerator key“
cssClass=”CSS class“
dataContext=”source for data binding operations“
dataIndex=”the index of the currently selected item in the data source“
enabled=”true|false“
id=”identifier for looking up the component by name“
propertyChanged=”event handler“
tabIndex=”element`s tab index“
visibilityMode=”Hidden|Collapse“
visible=”true|false“
>
<behaviors>
<!– behaviors –>
</behaviors>
<bindings>
<!– bindings –>
</bindings>
<emptyTemplate>
<!– template –>
</emptyTemplate>
<itemTemplate>
<!– template –>
</itemTemplate>
<propertyChanged>
<!– actions –>
</propertyChanged>
</itemView>
Script components: required
Inherits: Sys.UI.Data.DataControl
ListView Class
A control complements the ItemView control, which allows you to view a range of record that are selected by the bound DataSource control.
Syntax
Javascript
.
.
c.initialize();
Declarative
accessKey=”accelerator key“
alternatingItemCssClass=”CSS class for alternating rows“
cssClass=”CSS class“
dataContext=”source for data binding operations“
dataIndex=”the index of the currently selected item in the data source“
enabled=”true|false“
id=”identifier for looking up the component by name“
itemCssClass=”CSS class for individual items“
itemTemplateParentElementId=”identifier of the parent of the template“
propertyChanged=”event handler“
separatorCssClass=”CSS class for the separator“
selectedItemCssClass=”CSS class for the selected item“
tabIndex=”element`s tab index“
visibilityMode=”Hidden|Collapse“
visible=”true|false“
>
<behaviors>
<!– behaviors –>
</behaviors>
<bindings>
<!– bindings –>
</bindings>
<emptyTemplate>
<!– template –>
</emptyTemplate>
<itemTemplate>
<!– template –>
</itemTemplate>
<layoutTemplate>
<!– template –>
</layoutTemplate>
<separatorTemplate>
<!– template –>
</separatorTemplate>
<propertyChanged>
<!– actions –>
</propertyChanged>
</listView>
Script components: required
Inherits: Sys.UI.Data.DataControl
DataSource Class
A control creates the “connection” between your controls and the back-end datasets.
Syntax
Javascript
Declarative
autoLoad=”true|false“
dataAvailable=”event handler“
dataContext=”source for data binding operations“
id=”identifier for looking up the component by name“
initialData=”the initial data when the page loads“
propertyChanged=”event handler“
serviceURL=”the URL of the web service that will supply the data“
serviceType=”DataService|Handler“
>
<bindings>
<!– bindings –>
</bindings>
<dataAvailable>
<!– actions –>
</dataAvailable>
<parameters prop1=”value1“ prop2=”value2“ … />
<propertyChanged>
<!– actions –>
</propertyChanged>
</dataSource>
Script components: required
Inherits: Sys.Component
DataView Class
A control gives a filtered view of a of data source.
Syntax
Javascript
Declarative
dataContext=”source for data binding operations“
id=”identifier for looking up the component by name“
pageIndex=”the current index of page“
pageSize=”the size of page“
propertyChanged=”event handler“
sortColumn=”the column for sorting“
sortDirection=”Ascending|Descending“
>
<bindings>
<!– bindings –>
</bindings>
<filters>
<!– filters –>
</filters>
<propertyChanged>
<!– actions –>
</propertyChanged>
</dataSource>
Script components: required
Inherits: Sys.Component
DataNavigator Class
A control gives page navigation for a data view.
Syntax
Javascript
.
.
c.initialize();
Declarative
accessKey=”accelerator key“
cssClass=”CSS class“
dataContext=”source for data binding operations“
dataView=”the data view of page navigation“
enabled=”true|false“
id=”identifier for looking up the component by name“
propertyChanged=”event handler“
tabIndex=”element`s tab index“
visibilityMode=”Hidden|Collapse“
visible=”true|false“
>
<behaviors>
<!– behaviors –>
</behaviors>
<bindings>
<!– bindings –>
</bindings>
<propertyChanged>
<!– actions –>
</propertyChanged>
</itemView>
Script components: required
Inherits: Sys.UI.Control
XMLDataSource Class
A datasouce for xml data.
Syntax
Javascript
Declarative
autoLoad=”true|false“
documentAvailable=”event handler“
dataContext=”source for data binding operations“
id=”identifier for looking up the component by name“
initialDocument=”the initial document when the page loads“
propertyChanged=”event handler“
serviceURL=”the URL of the web service that will supply the data“
xpath=”the xpath for getting part of xml“
>
<bindings>
<!– bindings –>
</bindings>
<documentAvailable>
<!– actions –>
</documentAvailable>
<parameters prop1=”value1“ prop2=”value2“ … />
<propertyChanged>
<!– actions –>
</propertyChanged>
</xmlDataSource>
Script components: required
Inherits: Sys.Component
XSLTView Class
A control to show data by converting xml data with xslt.
Syntax
Javascript
.
.
c.initialize();
Declarative
accessKey=”accelerator key“
cssClass=”CSS class“
dataContext=”source for data binding operations“
enabled=”true|false“
id=”identifier for looking up the component by name“
propertyChanged=”event handler“
tabIndex=”element`s tab index“
visibilityMode=”Hidden|Collapse“
visible=”true|false“
>
<behaviors>
<!– behaviors –>
</behaviors>
<bindings>
<!– bindings –>
</bindings>
<parameters prop1=”value1“ prop2=”value2“ … />
<propertyChanged>
<!– actions –>
</propertyChanged>
</itemView>
Script components: required
Inherits: Sys.UI.Control
SortBehavior Class
A behavior to sort the data of a dataview.
Syntax
Javascript
Declarative
dataContext=”source for data binding operations“
dataView=”the data view for sorting“
id=”identifier for looking up the component by name“
propertyChanged=”event handler“
sortAscendingCssClass=”CSS class when sort the data order by asc“
sortColumn=”the column to sort“
sortDescendingCssClass=”CSS class when sort the data order by desc“
>
<bindings>
<!– bindings –>
</bindings>
<propertyChanged>
<!– actions –>
</propertyChanged>
</sortBehavior>
Script components: required
Inherits: Sys.UI.Behavior
PropertyFilter Class
Syntax
Javascript
Declarative
dataContext=”source for data binding operations“
id=”identifier for looking up the component by name“
property=”the property to filter“
propertyChanged=”event handler“
value=”the value to display“
>
<bindings>
<!– bindings –>
</bindings>
<propertyChanged>
<!– actions –>
</propertyChanged>
</sortBehavior>
Script components: required
Inherits: Sys.Data.DataFilter
本文轉自 jeffz 51CTO部落格,原文連結:http://blog.51cto.com/jeffz/60942,如需轉載請自行聯絡原作者
相關文章
- 【typeorm】typeorm官方文件querybuilder插入更新刪除部分ORMUI
- set集合,深淺拷貝以及部分知識點補充
- 在模板字串裡寫css,沒有程式碼提示字串CSS
- OKHttp 官方文件【二】HTTP
- 補充行業程式碼欄位行業
- 得物web端逆向 補環境(第二部分補充已出)Web
- Scrapy 常用方法以及其補充
- TOS:調查顯示大部分膳食補充劑沒有減肥效果
- [20211215]提示precompute_subquery補充.txt
- 官方提示:百度智慧小程式免費申請,沒有“官方授權”合作
- [譯]2.1-Key-Value Coding Programming Guide 官方文件第二部分GUIIDE
- 二分圖補充
- Libevent 官方文件學習筆記(2. bufferevent部分)筆記
- Xcode 程式碼提示失效以及引發的感想XCode
- Eclipse點選空格總是自動補全程式碼怎麼辦,如何自動補全程式碼,程式碼提示Eclipse
- [20211221]提示precompute_subquery補充2.txt
- 前端補充:url編碼前端
- Roslyn 簡單實現程式碼智慧提示補全功能ROS
- [譯]2.2-Key-Value Coding Programming Guide 官方文件第二部分第2節GUIIDE
- [譯]2.3-Key-Value Coding Programming Guide 官方文件第二部分第3節GUIIDE
- [譯]2.4-Key-Value Coding Programming Guide 官方文件第二部分第4節GUIIDE
- [譯]2.5-Key-Value Coding Programming Guide 官方文件第二部分第5節GUIIDE
- [譯]2.6-Key-Value Coding Programming Guide 官方文件第二部分第6節GUIIDE
- jQuery EasyUI API 中文文件 - 表單(form補充)jQueryUIAPIORM
- 近日macOS Catalina 10.15.6補充更新已釋出Mac
- VS Code Java 3月更新|程式碼補全、Maven 以及 Java 外掛預覽版本新升級!JavaMaven
- Deadmin 更新部分文件介紹快速使用方法
- 蘋果釋出具有安全修復程式的macOS Catalina 10.15.7補充更新蘋果Mac
- 程式碼(CODE)到二進位制(BIN)檔案的編譯過程補充formelf工具編譯ORM
- 網路程式設計補充程式設計
- IdentityServer4官方文件(二)【相關術語】IDEServer
- [VUE系列二]vue官方文件總結和整理Vue
- 技術資源下載(持續補充更新)
- Eclipse解決JavaScript等支援問題(沒有高亮,沒有程式碼提示)EclipseJavaScript
- Django官方文件Django
- nmap官方文件
- 統計資料按日期分組,沒有的天補零,什麼辦
- Win10系統安裝更新補丁包提示錯誤程式碼0x80070422怎麼解決Win10
- 演算法之排序(Java版)-持續更新補充演算法排序Java