|
POST
|
Rene: Thanks for your response. What's the code to add/remove All of the row? Could you help?
... View more
04-05-2021
05:48 AM
|
0
|
0
|
1824
|
|
POST
|
Refer to https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/, I loaded ESRI's FeatureTable widge into my App. What is the way to check on/off all of the rows dynamically thruough JavaScript code? Thanks if you can provide your hint.
... View more
04-02-2021
12:16 PM
|
1
|
2
|
1904
|
|
POST
|
Ken: Wonderful! Thanks again for your kindly quick responses and very useful hints!
... View more
03-30-2021
06:09 AM
|
0
|
0
|
889
|
|
POST
|
I am using ESRI's FeatureTable widget to display clustering points on the map. The feature records are well populated on the Grid. What I need is that as clicking a row of the Grid, I can retrieve the values (Lat & Lon) of the row, and then possibly add a point graphic on the map. However, due to the Clustering configuration, I can't fire the clickFunction (see the code below). myTable = new mv.esriModules.FeatureTable({ layer: myFeatureLayer, visibleElements: { selectionColumn: true }, fieldConfigs: _fieldsConfig, container: document.getElementById("tableDiv"), menuConfig: { items: [{ label: "Zoom to feature(s)", iconClass: "esri-icon-zoom-in-magnifying-glass", clickFunction: function (event) { // debugger; //zoomToSelectedFeatureTable(); //console.log("Need to build zoomToSelectedFeatureTable function"); } }] } }); I can only retrieve a cell's value. Is it possible to retrieve the whole row's values? Thanks. 04/01/2021 Refer to the code in https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-map/ the issue is resolved. Thanks to the hint from KenBuja
... View more
03-26-2021
04:50 AM
|
0
|
0
|
1128
|
|
POST
|
I did use .esri-feature-table__menu .esri-button-menu{display:none;} through e.target.innerHTML, I can retrieve only the cell's value. What I can retrieve the row's value? Thanks for your help.
... View more
03-25-2021
10:18 AM
|
0
|
2
|
3763
|
|
POST
|
Dear Ken: For the code below this.gridTbl = $('#tableDiv'); // the Grid container this.gridTbl.click(function(e) { debugger; } if I click a row of the grid, the event fire. Is it possible to retrieve the row's value through the 'e'? Through debugging, I can see some expected values (but not all). Thanks if you can help. }
... View more
03-25-2021
09:03 AM
|
0
|
1
|
3772
|
|
POST
|
Dear Ken: Thanks for your response. I used your code, but it still does not fire. Is there something still missin? Thanks again. myTable = new mv.esriModules.FeatureTable({ layer: myFeatureLayer, visibleElements: { selectionColumn: true }, fieldConfigs: _fieldsConfig, container: document.getElementById("tableDiv"), menuConfig: { items: [{ label: "Zoom to feature(s)", iconClass: "esri-icon-zoom-in-magnifying-glass", clickFunction: function (event) { // debugger; //zoomToSelectedFeatureTable(); } }] } });
... View more
03-25-2021
08:51 AM
|
0
|
6
|
3773
|
|
POST
|
In my App, I create a FeatureTable that works with a FeatureLayer. When the FeatureTable displays the data and the FeatureLayer is drawn on the Map. I need to fire an event on clicking a row of the Grid, and retrieve the record's cells values. Below is the related code. However, when I click a row, nothing happens. What's wrong with my code? Thanks if you can help. myTable = new mv.esriModules.FeatureTable({ layer: myFeatureLayer, visibleElements: { selectionColumn: true }, fieldConfigs: _fieldsConfig, container: document.getElementById("tableDiv") items: [{ label: "Zoom to feature(s)", iconClass: "esri-icon-zoom-in-magnifying-glass", clickFunction: function (event) { // debugger; //zoomToSelectedFeatureTable(); //console.log("Need to build zoomToSelectedFeatureTable function"); } }] });
... View more
03-25-2021
06:49 AM
|
0
|
8
|
3834
|
|
POST
|
In an App where <script src="https://js.arcgis.com/4.18/"></script> is used, using <script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.7.7/xlsx.core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xls/0.7.4-a/xls.core.min.js"></script> is fine. However, if I use XLSX in Version 16.9, XLSX becomes undefined. In my other projects in ESRI's 3.x API, using XLSX Version 16.9 has no problem. One of the main differences is that the low XLSX version (e.g. 0.7.7) can read maximum 26 columns from an Excel file, while the high XLSX version has not such a limit. It looks that ESRI's JavaScript 4.x has a defect. Hopefully, ESRI's JavaScript team can resolve this bug.
... View more
03-24-2021
08:14 AM
|
0
|
0
|
1110
|
|
POST
|
I loaded an excel file and then converted it as a FeatureTable. I want to turn off some fields (or columns, e.g OBJECTID) when the table is loaded.
... View more
03-22-2021
09:24 AM
|
0
|
2
|
1547
|
|
POST
|
Thanks. Could you help for that piece below? I got error if inserted in the .css. Thanks. .esri-feature-table{ visibleElements: { selectionColumn: true }; }
... View more
03-22-2021
08:49 AM
|
0
|
3
|
3286
|
|
POST
|
when I pasted let filterArray = number[]; on my .js file, it shows error. What's wrong w/ this piece of code? Thanks.
... View more
03-22-2021
06:57 AM
|
0
|
5
|
3326
|
|
POST
|
I did the css like that .esri-feature-table{ visibleElements: { selectionColumn: true }; } but it shows errors. Could you help for the style? Thanks.
... View more
03-22-2021
06:54 AM
|
0
|
0
|
3327
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|