|
POST
|
Hello I appologize for posting again, I hope it is better explained below I have an ActionToogle in a layerList item that opens/creates a featureTable and a Sketch widget at the same time - I am using the sketch widget output geometry to filter the featureTable rows. Whenever I click a button to initiate the graphic´s drawing, the layerList toogle "inadvertently" turns off. The same happens if, instead of using the sketchWidget and its default buttons, I program a custom UI as in the sample https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=sketch-viewmodel-styler which has sketchViewModel methods associated to calcite-action. The buttons in the sketch menu that turn off the toogle in the layerList are those with create() or update() methods underneath. It seams that the create and update methods disable other buttons that are active in the sketch menu and in the layerList. It would be no problem if it turned off buttons in the sketch menu only (e.g. as I click a button to draw a polygon it disables the button to draw a line). Would there be a way of discriminating layerList and sketchWidget events so that sketchViewModel events dont affect the layer list toogle? Or would there be a way of modifying the create() or update() methods so that they dont disable other buttons by default? Thank you very much in advance
... View more
05-31-2022
04:46 AM
|
1
|
0
|
1308
|
|
POST
|
Hello I have an ActionToogle in a layerList item that opens/creates a featureTable and a Sketch widget at the same time - I am using the sketch widget output geometry to filter the featureTable rows. Whenever I click a button to initiate the graphic´s drawing, the layerList toogle "inadvertently" turns off. The same happens if, instead of using the sketchWidget and its default buttons, I program a custom UI as in the sample https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=sketch-viewmodel-styler which has sketchViewModel methods associated to calcite-action. The buttons in the sketch menu that turn off the toogle in the layerList are those with create() or update() methods underneath. It seams that the create and update methods disable other buttons that are active in the sketch menu and in the layerList. It would be no problem if it turned off buttons in the sketch menu only (e.g. as I click a button to draw a polygon it disables the button to draw a line). Would there be a way of discriminating layerList and sketchWidget events so that sketchViewModel events dont affect the layer list toogle? Or would there be a way of modifying the create() or update() methods so that they dont disable other buttons by default? Thank you very much in advance
... View more
05-31-2022
04:25 AM
|
0
|
2
|
1850
|
|
POST
|
Hello I have an ActionToogle in a layerList item that opens a featureTable and a Sketch widget at the same time - I am using the sketch widget output geometry to filter the featureTable rows. Whenever I click a button to initiate the graphic´s drawing the layerList toogle turns off. Does anyone knows what is causing this and/or how can I correct it? Thank you
... View more
05-27-2022
07:50 AM
|
0
|
0
|
1157
|
|
POST
|
Yes, it works regardless of the browser minimum font-size settings Thank you!
... View more
05-18-2022
11:58 AM
|
0
|
0
|
3962
|
|
POST
|
It seems the problem has to do with the browser font-size appearance settings , which will override the css settings
... View more
05-18-2022
11:24 AM
|
0
|
0
|
3968
|
|
POST
|
Hi Robert The css rule you provided also works in the ESRI´s sample https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-editing I replaced the feature layer and fieldConfigs in the above sample with my own data and it also worked. However, if I save the sample´s code as a html file and open it in the browser the font-size definition has no effect on the text within the cells. The same happens with my own code. I don´t know why this is happening. Thank you very much
... View more
05-18-2022
10:55 AM
|
0
|
2
|
3974
|
|
POST
|
Hi Robert Thank you very much for your reply .esri-grid .esri-grid__content { font-size: medium; --lumo-font-size-s: .875rem; } It worked well for the header but it didn´t change the font size within the cells Do you know what else may be happening? Are these coming from https://js.arcgis.com/4.23/esri/themes/light/main.css or should I declare another css? Thank you Adriana
... View more
05-18-2022
08:12 AM
|
0
|
4
|
3990
|
|
POST
|
Hello Does anybody know how do I change the font-size of text in FeatureTable cells? I am sending an image attached Thank you in advance
... View more
05-18-2022
06:04 AM
|
0
|
8
|
4022
|
|
POST
|
In your code it would be: let layerList = new LayerList ({ view: view, container: "aerials-container", listItemCreatedFunction: function ....
... View more
05-17-2022
02:01 PM
|
0
|
0
|
2542
|
|
POST
|
Hi Gregory This is how you create the container: It is a property of the layerList var layerList = new LayerList({ view: view, selectionEnabled: true, listItemCreatedFunction: defineLayerListActions, container: "layers-container" }); and then you add the container to your calcite-panel <calcite-panel width-scale="m" height-scale="m" data-panel-id="layers" hidden> <div id="layers-container"></div> </calcite-panel>
... View more
05-17-2022
01:52 PM
|
0
|
2
|
2545
|
|
POST
|
You can associate a calcite-panel to your calcite-action and then place a div with the layerList container inside the calcite-panel You will be able to access the layerList from there..
... View more
05-15-2022
05:01 PM
|
0
|
4
|
2572
|
|
POST
|
The CORS extension on Chrome has helped me too. Thank you
... View more
05-10-2022
11:25 AM
|
1
|
0
|
8688
|
|
POST
|
Hello we are trying to access a WMS layer (https://geoservicos.pbh.gov.br/geoserver) from our ArcGIS API for JavaScript application, but we are getting the following error message: Access to fetch at ' https://geoservicos.pbh.gov.br/geoserver/wms?SERVICE=WMS&REQUEST=GetCapabilities' from origin 'null' has been blocked by CORS policy: No Access-Control-Allow-Origin header is present in the requested resource. If an opaque response serves your needs, set the request mode to ´no-cors` to fetch the resource with CORS disabled. I am not sure how we can set the request mode to ´no-cors`. Would someone please help with that? Thank you
... View more
05-09-2022
05:19 AM
|
0
|
2
|
3907
|
|
POST
|
Hi Jeffrey The way I found to do this was to create a css class for the panel and set the width there .panel-side { padding: 2px; width: 330px; height: 100%; position: absolute; top: 0; left: 0; z-index: 60; }
... View more
04-19-2022
11:51 AM
|
1
|
0
|
5148
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-02-2026 04:15 PM | |
| 1 | 09-18-2023 10:17 AM | |
| 1 | 06-04-2023 10:05 AM | |
| 1 | 05-31-2022 04:46 AM | |
| 1 | 05-10-2022 11:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-09-2026
02:35 PM
|