Dojo Grid with editable and non-editable cells - dojo

We are using dojo 1.4.2 in our project. We have a page where we display a dojox.data.EnhancedGrid from ItemFileWriteStore. We have a use case based on the user access, we need to have a column editable for some rows; for rest of the rows this column should be read only.
So what we are looking at is setting the editable:true at the cell level and not at the column level. All the examples I see are set at the column level. Is there a way to set editable at the cell level?

I haven't found a way to set any options (such as editable) at the cell level. As far as I can tell, all options can only be set at the column level.

Related

Remove columns in dgrid dynamically

I am creating a dgrid using columnHider. I was able to hide/show columns using this.dgridTable.toggleColumnHiddenState(columnId, hidden);
However, I want to altogether remove specific columns from view(including the column hider menu). Is there a way to do this without re-creating the grid with a new set of columns?
You should be able to use this.dgridTable.set('columns', newColumnsDescription);. It does update the column hider menu as well.
You will have to build newColumnsDescription to reflect the addition / removal of columns as per your needs.

Is it possible to set vb.net datagridview cell alignment without modifying whole column?

I am trying to set the alignment of a specific cell in a row/column to be right aligned. However I do not want to set the whole row, or whole column to right aligned. Is it possible to set the cell only? From what I've seen online I'm starting to think it isn't possible.
You would need to hook up to the RowDataBound event. This fires as each row is databound. Check that the row is a data row (as opposed to a header or footer). Then check the value in the column you are interested in. If the value meets your criteria for right justification then apply that to the column in question.
Note if you are using AlternateItemTemplate then check both Item rows and AlternateItem rows.
I've used this method to say change the backround colour of values that fall outside a range.

ssrs column visibility inside row groups

i have a report that has multiple groups mostly in rows and one column group but i need to show certain columns based on parameters selected. As show in the image when i right click on speciality column the column visibility is not available. Can somebody help me on this.
thanks
(source: ravidowluri.com)
I solved it myself without using visibility option in columns instead hide and show the header text based on parameter value and border style in properties window
Visibility can be set in the Properties sidebar for that group column.
I resolved by selecting all the cells (one at a time) under the group header(s)/column and setting the associated text box Hidden to "true"

Fixed textframes in MigraDoc?

I wrote a very simple drag and drop style report screen online so users can specify labels and fields etc much like an MS Access Report. I am having an issue getting this to output as PDF and I am using MigraDoc. The TextFrame allows you to specify a Left/Top which is good but I need to do this for multiple rows and I can't quite get it to work in this way.
At present I tried to add a table and a row (for each record) and put textframes within this with the left/top properties but every field gets put in the same place i.e. 0,0 and the records flow over both the header and footer?
I am using c#

Automatic Chart Pagination with Report Parameters

Based on several report parameters in SQL Server 2005 reporting services, I would like to automatically generate one or several chart(s) for each row in the return result and paginate or space them out. How do I go about that?
If the number of charts will vary for each row, but the variations are known (e.g. it's either just chart 1, or chart 1 and 3, or charts 1 2 and 3) then it's simple enough using a table.
In the default detail row add any normal fields you need. Now insert a new detail row for each chart you might need. Lastly set the visibility of each chart row based on your rules, noting that the rule will hide the row if your expression evaluates to true. Make sure you select the row using the area to the left of the left-most cell, if you got it right you'll see that it's a row in the properties grid.
To get the layout you want you can merge cells for the charts to go in, or use a single cell and put a Rectangle in it, then in the Rectangle lay out your other controls.
Any rows that are hidden will be collapsed, so you wont get big empty sections like you can if you simply toggle the visibility of the charts themselves.
What you can do is place a List control on the page, set List grouping by record unique key (ID, or several fields if composite), and place a charts on the List. Next, set items visibility expressions to control it with report parameters.