dojo

Dojo Grid excel

Hello, I have read you was previosly trying to make some changes to dojo widget to achive better behaviour. Im asking because I have a similar task, and I dont want to reinvent the wheel, and would be very helpful if some1 can share experience. Thanx Fornwald Ladislav ...

JavaScript data grid in a fluid layout?

We are contemplating using the DataGrid component from DojoX in our web applications. The problem I have is that it doesn't seem to play well with fluid (a.k.a. liquid) CSS layouts -- it seems to like every width predefined. In fact the documentation warns about the automatic width for the columns feature and my attempts to use dynamic w...

Dojo DateTextBox initial value

Hello, I use a DateTextBox field to display data from database. My problem is that not all the data is in correct date format. I need to display these data even if they are not correct but actually initial values are erased. Is there a simple way to disable this ? I have a variable number of date in my page and it's difficult to overrid...

ExtJS AOP similar to that provided in dojo?

I have used this dojo plugin that provides a wonderful implementation of declarative AOP. Does anybody know of a similar plugin/library for ExtJS or for vanilla JS? ...

Dojo Lightbox Close Button

Hello, I have Dojo 1.4, and the lightbox is working. But the close button doesnt work with IE, I can see it, just not click it. With Firefox it workes all ok. So I assume the code and css are all ok. Any ideas? Greg ...

Why won't my dojo.byId work within a script library?

I have a web page with dojo code on it, including a function passed to dojo.addOnLoad with the following code: laborDetailHandler.RevenueTotalInput = dojo.byId('#{id:LaborRevenueTotal}'); if (!laborDetailHandler.RevenueTotalInput) { console.warn('RevenueTotalInput not found.') } If this code is in-line, even if it's above the LaborRe...

PHP Zend doesn't display correctly

I am trying to recreate the following blog's tabbed forms for my website. http://zendguru.wordpress.com/2009/01/15/zend-framework-and-dojo-creating-tabbed-form/ I currently have the form displaying on my page, however instead of tabs it displays the whole form like normal. I know that the form is displaying the subforms as I have com...

dojo.gfx matrix transformation

Matrix transformations has got my head spinning. I've got a dojox.gfx.group which I want to be draggable with Mover and then be able to rotate it around a certain point on the surface. My basic code looks like this: this.m = dojox.gfx.matrix, . . . updateMatrix: function(){ var mtx = this.group._getRealMatrix(); var trans_m = this....

asp.net control (.ascx) with dijit?

i've tried to get an asp.net dropdownlist control to become a dijit combobox but it's not working. i've tried this: <asp:DropDownList ID="ddlUserID" dojoType="dijit.form.ComboBox" runat="server" DataTextField="FullNameAndUserName" CssClass="stdtext" DataValueField="UserID" AppendDataBoundItems="True" AutoPostBack="True" ...

Adding some persistence to dijit.TitlePane (open/close state)

I want to add very simple cookies based persistence with dijit.TitlePane. I want to make sure that the state of the title pane whether it was open or closed should be preserved in a cookie so that next time the page is loaded, the title pane starts with the remembered state. This is particularly useful in situations where I have lots of...

dojox.charting Setting Custom Tooltip Labels from ItemFileReadStore

I discovered that the dojox.charting.action2d.Tooltip takes a custom function to provide the text for the labels. The challenge is that the text of the label that I want to display is contained within dojo.data.ItemFileReadStore which the chart series is pointed at. I am trying to figure out some way to tie back the information passed ...

Are there ways to improve javascript (Dojo) loading?

I'm starting to use the Dojo toolkit and it has rich features like Dijits and themes which are useful but take forever to load. I've got a good internet connection but those with slower connections would experience rather slow page loads. This is also a question about heavy vs light frameworks. If you make heavy use of widgets, what ar...

Dojo Logarithmic Axis Scale

I've been using the Dojo charting to create a Columns chart. I'm very impressed by it so far, but have decided I need a logarithmic y axis. Doesn't look like this is supported so far, though I've seen a blog entry implying it was planned at some point. Does anyone know it it is possible at the moment? If not, then I'm happy to try writi...

dojo node selection not working in Opera Widgets

I've got a problem which boils down to the fact that dojo node selection doesn't function on a s60 mobile platform and Opera Widgets. Something as simple as dojo.byId throws an error while document.getElementById is ok. How does dojo node selection differ from your vanilla JavaScript? Is there any setting in Opera Widgets which can be ...

dojo dijit client side validation onchange

So I followed the example in the Dojo - Using the Dojo JavaScript Library to Build Ajax Applications to add server-side validation to the username validationtextbox field on my form. Basically I added a usernameOnChange function that submitted an xhrGet request, the xhrGet returns JSON and is handled by the usernameValidationHandler. It...

dojo dialog in 1.4 execute function doesn't work

the following code will work when i include dojo version 1.3 and when i submit the dialog, it will call doCreateTest function. but when i upgrade dojo to version 1.4, and when i submit the dialog, it does not call doCreateTest function. Does the execute function change to another name? Thanks. ...

onclick issues with dijit.Tooltip

I am facing following issue. I have attached tooltips with some tab titles of a dijit.TabContainer. The hover behavior is OK, but when I click on the tab, the tooltip stays visible unless I click somewhere else on the page. On googling I got following page discussing this issue. http://ahackersnotes.com/web/hide-dojo-tooltip-after-a-mo...

Displaying Large Text Files via Ajax/dojo

I want to display to a user a large text file (100MB Log Files specifically) via a web interface without requiring the user to have to download the entire file. Obviously returning the entire file to someones web browser would not be sensible, so my theory was to used Ajax to fetch portions of the file depending on the user scrolling th...

DOJO StoreExplorer not displaying correctly

I have a very simple example of an html that calls a jsp page that returns a very simple JSON object. My problem is that what I expect the screen to show is not being displayed. Here is a screen shot of what I see. screen shot link Here is the relevent parts of the HTML file. <script type="text/javascript" src="resources/dojo/...

parse dojoAttachEvent in content returned from xhr in a custom widget?

Instead of the typical custom widget that mixes in _Templated for it's markup, I want a widget that just mixes in _Widget then does an xhrGet to fetch the markup. In addition, and this is the part that I need help with, I want dojo to parse the xhr result text for dojoAttachPoint and dojoAttachEvent in the context of the widget, hookup ...