by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dylan Schiemann
    @dylans
    There may be a way to set the transition property without needing to do aspect calls, but I'm not particularly familiar with the dojox/mobile codebase.
    Mark-81
    @Mark-81
    @dylans as I wrote in the github issue I've already tried with 'none'. It actually removes the transitions but also the events (afterTransitionIn, beforeTransitionOut) as well...
    Dylan Schiemann
    @dylans
    right, ok, sorry, I get pulled in about 100,000 directions... some form of aspect should help then.
    Mark-81
    @Mark-81
    @dylans no problem! I understand. Last things: 1. " you would need a local reference to the AMD module" - do you mean instead of "dojox/mobile/View" I have to pass registry.byId("myview"), hence aspect.before(dojo, registry.byId("myView"), function(method, args) { if (method == "performTransition" ) ... });? 2. as said before I cannot find in the documentation how to change the transition's duration.
    Dylan Schiemann
    @dylans
    @Mark-81 not tested, and it may have further consequences, but I think what you want is something like this:
    require(['dojo/aspect', 'dojox/mobile/View', 'dojo/domReady!'],
        function(aspect, View){
            aspect.before(View, '_doTransition',
                function(fromNode, toNode, transition, transitionDir){
                    return [fromNode, toNode, 'none', transitionDir];
                }
            );
        }
    );
    I think that will still preserve the afterTransitionIn and other handlers, but make the actual transition animation get skipped
    AbhinavJKJ
    @AbhinavJKJ
    Can any one tell me how to create custom widget using import { subclass, declared} from "esri/core/accessorSupport/decorators"; and import _WidgetBase = require("dijit/_WidgetBase");
    @subclass("compass.widgets.customLayerListViewModel")
    class CustomLayerListViewModel extends declared(_WidgetBase, Evented){} with ArcJIis 4.9 and dojo 1.11
    rajna1113
    @rajna1113
    I downloaded dojo 1.14 and it’s not working in laptop iOS 10x?
    does anyone know work around for this
    matrixbot
    @matrixbot
    ehuelsmann rajna1113 (Gitter): what does "not working" mean?
    ehuelsmann Any specific error?
    Mark-81
    @Mark-81
    @dylans thanks for your hint. Unfortunately it seems it does nothing... it executes the first function (aspect.before) but doesn't enter in the second (after _doTransition). Hence the transitions are still there.
    Mark-81
    @Mark-81

    Wait! It seems it works in this way:

                aspect.before(registry.byId('myView'), '_doTransition',
                    function(fromNode, toNode, transition, transitionDir){
                        return [fromNode, toNode, 'none', transitionDir];
                    }
                );

    I had to add this snippet for each View. Only for one it doesn't work, but perhaps there's something else - I'm trying to figure it out.

    juliandm
    @juliandm
    Dgrid hey there, we are currently trying to render an inputfield (ValidationTextBox) in the header of dgrid columns for quicksearch functionality. We are overriding renderHeaderCell(node) and attaching the ValidationTextBox as a child to "node". However we saw now that event bubbling doesn't seem to start from the inputfield but from the dgrid Column. That means that many important events like keypress, mousedown are not available on the field. Does anyone have an idea how to get around this?
    madalavenkat
    @madalavenkat
    Hello Team, "dojox.grid.TreeGrid" is support on 1.8 version.?
    srinivas
    @cenu528_twitter
    Hi Team, I am new to dojo. Need small help. Plz help me
    I have a button and when i clicked on it.. will open a popup window
    onClick: dojo.hitch(this,'_editJobButtonClicked')
    but same functionality i need in hyper link..when i click on hyper link same popup window i need
    plz help me guys...
    durga73
    @durga73
    Does dojo 1.15 supports ECMAScript 5 ? or it supports TypeScript ? Which standards does dojo supports ?
    Varun Verma
    @VarunVerma3

    Hi Guys,

    I'm using filter plugin in dojox.grid.EnhancedGrid but when i click the filter button i don't see a proper UI rather all the text and input area are overlapped.

    Can any body help me why i'm getting this problem.

    The css files I've included:

    @import "dojo/resources/dojo.css";
    @import "dojox/grid/enhanced/resources/claro/EnhancedGrid.css";
    @import "dojox/grid/enhanced/resources/EnhancedGrid_rtl.css";
    @import "dijit/themes/claro/claro.css";

    rkantos
    @rkantos
    Does someone have a recollection what changed with CheckBoxes between 1.8 & 1.9 on mobile? On 1.8 everything works as per normal.. On 1.9 on mobile, checkbox checked value return true until the checkbox has been clicked two times.. (value true, but checkbox visually unchecked) However if I use the mobile browser via Chrome developer tools and click it (with mouse), it works as expected; e.g. as it worked before on a desktop.
    on mobile = on a mobile browser
    rkantos
    @rkantos
    Apparrently it seems that dijit.ById needs to always be used with 1.9 onwards
    Ondrej Medek
    @xmedeko
    @durga73 For typescript Dojo1 use https://github.com/dojo/typings
    Quinn Bast
    @QuinnBast

    Hello, I'm using a dojo html template and trying to render elements in a javascript array but it doesn't work inside of a <table> element. Putting the loop with a regular <div> prints everything just fine but inside a <table> fails.

    This works:

    <div>
    {% for item in list %}
     <p>item.attributes.OBJECTID</p>
    {% endfor %}
    </div>

    This doesnt:

    <table>
    {% for item in list %}
    <tr>
     <td>item.attributes.OBJECTID</td>
    </tr>
    {% endfor %}
    </table>

    Any ideas why?

    David Schontzler
    @schontz
    Just a guess, but have you tried <table><tbody> ... </tbody></table>? @QuinnBast
    Quinn Bast
    @QuinnBast
    Hello, yes I did try using <tbody> and <thead> tags. Tried to make the snippet as short as I could. Thanks for the suggestion though. I think it is a bug in dojo's dojox. I submited a github issue here: dojo/dojox#308. I ended up moving to Vue.js
    David Schontzler
    @schontz
    Sounds good. Is this a new project? The modern frameworks would be better than dojox if you're starting fresh.
    Quinn Bast
    @QuinnBast
    Yeah, I was going to make a project with the Esri JavaScript API and they use dojo for the api but I found that you can use esri-loader to load the AMD modules into modern JS
    David Schontzler
    @schontz
    Yes, the esri-loader is a good way to go. Quite handy! Esri is slowly migrating away from the dojo requirement for their API, so you should be able to pick the framework of your choice for your project.
    sudhas287
    @sudhas287
    Hi All,I am facing problem in dateformat without timeformat in korean language for datetimepicker as filtertype in dojo javascript anyone please help me out
    lik the below columns = [{
    label: djpro.lz("date"),
    attr: 'dateString',
    sortable: true,
    width: "25%",
    filterType: 'datetimepicker',
    where only korean langauge this datetimepicker displays dateformat like yyyy.m.d but we need this with time format how to change
    it will be helpful if anyone helps out with this we use dojo.require("xwt.widget.form.DateTimeRangePicker");
    Prabhu
    @PrabhuPerumal1_twitter
    Hi All, Can anyone tell me how to fix TabContainer in IE. Currently it is rendering as vertical content one after the other instead of tabbed ones
    image.png
    IE.PNG
    Even the example given in documentation page renders that way
    Prabhu
    @PrabhuPerumal1_twitter
    Im using IE11
    Martin Ceronio
    @mydoghasworms
    Hi there! I am just trying to understand whether dojo.io is a continuation of dojotoolkit.org or whether it's a separate codebase and, if so, for how long development will continue on the old base?
    bob333
    @bob333
    Hi, I am trying to make the FloatingPane https://dojotoolkit.org/reference-guide/1.10/dojox/layout/FloatingPane.html resize on all four corners. By default it supports on the bottom right corner only. If you can share ideas on how to implement this that would be great. Thanks.
    Martin Dann
    @martin.dann_gitlab
    @mydoghasworms It is a separate codebase that does things in a different way. The new codebase is TypeScript and works in a similar way to React.
    Hi Guys. I want to get some unit tests running on the command line via intern-client so we can add them to our CI pipeline in gitlab. Up to now we have only been able to get them working in the browser. I have done some tinkering and got some tests working but all tests that target dijits or custom widgets fail because the browser doesn't exist. I have tried to use jsdom as a replacement but have run into all sorts of problems. An example is the domReady module where stuff like document.addEventListener doesn't exist for example. Could do with being pointed in the right direction.
    Deno Vichas
    @denov
    is there any examples out there of unit tests written in something like mocha or jest?
    Ondrej Medek
    @xmedeko
    @denov you can try intern https://theintern.io/ it's made by the same authors as dojo
    Adam Granicz
    @granicz
    anyone know an active channel to ask questions about dojo 1.x?
    Dunaevsky Maxim
    @dunmaksim
    Only StackOverflow.