I am trying to get changed values โโfrom sqlserver using server_broker function.
when I check the code through a breakpoint that I make some changes to the database, it can reach a method called dependency_OnDataChangedDelegate, but I have not seen the changes in my datagrid. where am i doing wrong?
Ext.net.ResourceMgr.init ({ID: "mymanager", aspForm: "Form1"}); Ext.onReady (function () {Ext.create ("Ext.grid.Panel", {store: {Model: Ext.define ("App.Model1", {expand: "Ext.data.Model", fields: [ {name: "Id"}, {name: "Ad"}, {name: "Solid"}]}), StoreID: "strMasa", AutoLoad: true, proxy: {data: [{"Identifier": "8 "," Ad ":" 44448989 "," durum ":" 2 "}, {" Identifier ":" 9 "," Ad ":" Masa 55i "" durum ":" 1 "}, {" Id ": "12", "Ad": "Masa 3", "durum": "1"}, {"Id": "44", "Ad": "MAYU 4", "durum": "1"}, { "Id": "45", "Ad": "MAYU 5", "durum": "1"}, {"Id": "46", "Ad": "MAYU 6", "durum": "- 1 "}, {" Id ":" 47 "," Announcement ":" Masa 7 "," durum ":" - 1 "}, {" Identifier ":" 48 "," Ad ":" MAYA 8 ", "durum": "- 1"}, {"Id": "49", "Announcement": "Masa 9", "durum": "1"}, {"Id": "51", "Ad": MAYUA 10, Solid: "2"}, {"Identifier": "52", "Announcement": "MAC 11", "durum": "- 1"}, {"Id": "53", "Announcement": "MACA 12" , "durum": "- 1"}, {"Identifier": "54", "Ad": "MACA 13", "durum": "- 1"}, {"Id": "55", "Announcement ":" MACA 14 "," durum ":" - 1 "}, {" Identifier ":" 56 "," Ad ":" MACA 15 "," Durum ":" - 1 "}, {" Id ": "57", "Ad": "MASA 166", "Durum": "- 1"}], enter: 'Memory'}, listeners: {exception: {Fn: function (proxy, response, operation) {Ext. Msg.alert ('Products - load failed ", operation.getError ());}}}}, id:" gridMasa ", height: 580, renderTo:" App.gridMasa_Container ", flex: 1, layout:" fit " , title: "MASALAR" columns: {ID: "ColumnMxodel1", flex: 1, items: [{ID: "Column5", xtype: "rownumberer", text: "Id"}, {identifier: "KisxiId", hidden : etc vda, flex: 1, dataIndex: "Id", text: "Id"}, {identifier: "Coluxmn2w", flex: 1, align: "center", dataIndex: "Ad", text: "Masa Adฤฑ"}, {identifier: "Column8", flex: 1, align: "center", dataIndex: "durum", text: "durum"}, {identifier: "Column11", hidden: true, flex: 1, alignment: "center" , dataIndex: "durum", text: "durum"}]}, selModel: window.App.rowSelectioxnModel2 = Ext.create ("Ext.selection.RowModel", {proxyId: "rowSelectioxnModel2", selType: "rowmodel", selected : [{RowIndex: 0}]})});});
this is how to enable the database (sql server express 2012), in which all changes come from the database as a trigger.