Jan 11, 2012, 5:42 PM
What is the property in VB.Net similar to Store.Data in JavaScript?
What is the property of the object Store in VB.Net similar to Store.Data in JavaScript?
I create a listview, bind with a webservice through an object store. But, the listview don´t has a Hidden column... then I would get directly from the object store the field 'Details' for the selected row in Listview. In a VB.Net, not JavaScript.
I create a listview, bind with a webservice through an object store. But, the listview don´t has a Hidden column... then I would get directly from the object store the field 'Details' for the selected row in Listview. In a VB.Net, not JavaScript.
<ext:ListView
ID="lstAgendasSalasSGE"
runat="server"
SingleSelect="true"
EmptyText="Sem agendas disponíveis"
HideHeaders="true"
AutoScroll="true"
AnchorVertical="100%"
AnchorHorizontal="80%" >
<Store>
<ext:Store ID="Store1" runat="server">
<Proxy>
<ext:HttpProxy Json="true" Method="POST" Url="~/App/JSonDataPaging.asmx/AgendasSalasSGE_List" />
</Proxy>
<Reader>
<ext:JsonReader Root="d" IDProperty="IDAgendaSala">
<Fields>
<ext:RecordField Name="Descricao" />
<ext:RecordField Name="Detalhes" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
</Store>
<Columns>
<ext:ListViewColumn
Header=""
Width="0.11"
Template='<img src="/resources/images/icons/agenda-sala.png" />'
/>
<ext:ListViewColumn
Header="Descrição"
Width="0.8"
DataIndex="Descricao"
/>
</Columns>
<DirectEvents>
<SelectionChange OnEvent="SelectionChanged" />
</DirectEvents>
<%--<Listeners>
<SelectionChange Fn="selectionChaged" />
</Listeners>--%>
</ext:ListView>
Thanks for any help.