本文整理匯總了TypeScript中jui-grid.GridTable.scroll方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript GridTable.scroll方法的具體用法?TypeScript GridTable.scroll怎麽用?TypeScript GridTable.scroll使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類jui-grid.GridTable
的用法示例。
在下文中一共展示了GridTable.scroll方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: table
jui.ready([ "grid.table" ], (table: GridTable) => {
const table_1: GridTable = table("#table_1", {
data: [
{ name: "Hong", age: "20", location: "Ilsan" },
{ name: "Jung", age: "30", location: "Seoul" },
{ name: "Park", age: "15", location: "Yeosu" },
{ name: "Kang", age: "32", location: "Seoul" },
{ name: "Song", age: "12", location: "Gwangju" },
{ name: "Yoon", age: "22", location: "Damyang" },
{ name: "Kim", age: "33", location: "Busan" },
{ name: "Hwang", age: "21", location: "Seoul" }
]
});
table_1.scroll(100);
});