Login Register

events

dojo 1.1.1 connect bug?

I'm having trouble getting events to work correctly in my dojo app. I can connect a function to an event of a widget, and I can get that event to fire that function ( a keypress for example), but when I add in more than one widget and connect another widget to it, both functions are fired. What gives?

What is the actual events sequence used for drag-and-drop?

Hello.

I am not writing anything with dojo myself, but I have a related question anyway )

Charting Event Handling

Has anyone yet developed a work around for the dojox.charting package that will allow for clickable bars or points on the graphs that are generated? Our company would like to transition from static JFreeChart images to more dynamic dojo charts on our web interface, but this one feature is critical for us to be able to maintain curtain plotter functionality. If no one has a work around, does anyone in the dojo development community know when this feature might be introduced?

GFX Mover vs Moveable

Can anyone elaborate on the difference between dojox.gfx.Mover and dojox.gfx.Moveable?

Are you able dojo.connect to a dojo.data stores event like dojo.connect(myStore, "onItem", function() { console.log("item") });?

It seems like you should be able to but this didn't work for me. myStore is a jsId.

dojo.connect(myStore, "onItem", function() { console.log("item") });

Catching Events/actions on grid

I am trying to catch all events acted upon my grid, its basically an ROR based grid which populates fetching data from the controller object, while i have the data basically stored in xml format. so any actions and events i perform i need the updated value and the actual position or index where the event is triggered. so that i can update the value with the xml in backend.

i have seen the dojo events test , but not sure how can i use any of them , i am new to dojo. any help would be immense relief to me.

Thanks in Advance

Putting a Grid Widget in a hidden AccordionPane

Hi. I have a strange situation where I put a Grid Widget inside an AccordionPane that is initially hidden. It should be of no surprise to anyone that when the AccordionPane is selected, the Grid widget is not dispalyed properly. (On my browser, it looks like the grid widget is smashed into a as small of a space as possible)

href or button inside a grid cell

I am trying to get an href or button inside a grid cell to call a function.

First, i CAN'T seem to get an href in at all...(so please show me an href in a grid cell)...

also, i CAN get a button to show with the button tag... but once there i can't use onclick in the button tag, of course, bcause this is inserting the button for all cells in the column... so how do i enteract with it?

Page Load / Unload

To perform any DOM scripting, one needs a DOM to work with. Otherwise, you don't have nodes to attach your events to or manipulate, and the results of your program can be undesirable (e.g., no output for no obvious reason, or events attached to the document root).

Syndicate content