Login Register

formatting

How do i have a slide out menu without changing column formatting?

Hi, looking at the GridCotainer as an example:
dojox/layout/tests/test_GridContainerBC.html

is it possible to have a menu box (like the one on the left) which can slide out so you can add new elements to the manin part of the page, without it changeing the width of all the comuns?

What I am after I suppose it is to float on top, like a layer, and allow you to drag elements out of it, then fold it away after..

Is this going to be possible?

Bar Chart - different formatting(color) for each bar.

Hi,
I have a requirement for Bar chart where every bar of the chart is of a unique color. How can I achieve this? Can I create a theme for the same? Is it already available?

instead of

chart18.addSeries("Series A", [29, 21, 13, 44, 57], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});

I wrote

chart18.addSeries("Series A", [29, 0, 0, 0, 0], {stroke: {color: "red"}, fill: "lightpink", plot: "myBarPlot"});
chart18.addSeries("Series B", [0, 21, 0, 0, 0], {stroke: {color: "green"}, fill: "lime", plot: "myBarPlot"});

column header formatting in grid

Hi,

I am new to Dojo Grid, facing an issue regarding column headers. I need the column headers to be displayed as a link. The grid structure is something like this:

var layout = [{cells:[[{name: 'column1 ', width: 'auto}, {name:'column 2', width:'auto'}]]}];

How do I make 'column1', 'column2' etc as hyperlinks? Is there any method or style that I can use?

Thanks.

Grid & ItemFileReadStore - Using modified JSON format

Hello,

I am currently in the process of trying to implement a grid using a JSON store. I have successfully done this with a JSON file that followed the ItemFileReadStore.js requirements of using an items array. I have recently been trying to figure out how best to use a custom JSON store hierarchy with my grid. The store looks like the following:


{
"top": [
{"id":1, "name": "Name1", "width":2,
"first":[
{"card":1, "circuit":7},
{"card":1, "circuit":8}

Syndicate content