Hey, I am very new to WebApp Builder. I have a requirement where i need to query from Oracle Database and show the result in widget. Is this posibble to do .
In the tabular data i need to have a button on that click it should zoom that point .
Thanks in Advance.
Kafil,
Your require array is out of order.
define([
'dojo/_base/declare',
'jimu/BaseWidget',
'dijit/_WidgetsInTemplateMixin',
'dgrid/OnDemandGrid',
'dgrid/Selection',
'dojo/store/Memory',
'esri/layers/FeatureLayer',
'esri/symbols/SimpleFillSymbol',
'esri/tasks/query',
'esri/Color',
'dojo/_base/array',
'dojo/_base/lang',
'dijit/form/Button',
'dojo/json',
'dojo/Deferred',
"esri/request",
"esri/lang"
],
function(declare, BaseWidget, _WidgetsInTemplateMixin,
Grid, Selection, Memory, FeatureLayer, SimpleFillSymbol,
Query, Color, array, lang, esriRequest, JSON, Deferred, esriLang) {
esriRequest is a 'dijit/form/Button' based on your require order...
Thanks for the help Robert. You Rock.
I have created a new widget and am successful in getting the data. I am trying to add this data to dgrid but no luck in displaying the grid in widget.
Please help me where am going wrong in binding the grid.
Please find attached widget for your reference.
Thanks in advance.
Kafil,
So what is the error you are getting now?