2
ラリーがテストケースの詳細を表示するためのカスタムアプリを作成したいと思います。テストケースの中に 'c_blockedReason'という名前のフィールドがあるフィールド名 'LastResult'があります。ラリーカスタムアプリ - 子要素の取得
「c_blockedReason」を参照として提供するのではなく、同じカスタムアプリケーションに表示するにはどうすればよいですか。私がこれまで書いてきた
コード、
<!DOCTYPE html>
<html>
<head>
<title>Grid Example</title>
<script type="text/javascript" src="/apps/2.1/sdk.js"></script>
<script type="text/javascript">
Rally.onReady(function() {
Ext.define('Rally.example.SimpleGrid', {
extend: 'Rally.app.App',
componentCls: 'app',
launch: function() {
this.add({
xtype: 'rallygrid',
columnCfgs: [
'FormattedID',
'Name',
'Owner','Method','Type',
'LastVerdict',
'LastResult',
],
context: this.getContext(),
enableEditing: false,
showRowActionsColumn: false,
storeConfig: {
model: 'testcase'
}
});
}
});
Rally.launchApp('Rally.example.SimpleGrid', {
name: 'Grid Example'
});
});
</script>
<style type="text/css">
</style>
</head>
<body></body>
</html>
はまだ得ていません。 Webページが空白で表示されます。 – amaurya123
うん、それは私が一緒に遊んでいた私のデモアプリで働いた。完全なソースを提供できますか? –
私が提供したコードは私の完全なソースです – amaurya123