Is it possible to have frozen columns in slickgrid grouping(dataView.setGrouping()): - slickgrid

As per the sample image below, I need to make column frozen for 'title' column. Is it possible to implement the described scenario?

Related

Adding a drop-down menu (data validation) after each row of a query result in Google Sheet

First, here is the link to my sheet:
https://docs.google.com/spreadsheets/d/1067N1SAIwpGkMRBZiUv4JW8yDNkozuGt7Fwh6GW-qvE/edit#gid=1742559851
If you look at the tab called "Selection", I have two columns called "Select". All the data in these tables is collected by a query function, except column "Select". In that column, I need to add Data Validation (a simple Yes or No). I want the Data Validation to be automatically added when a new row is created but the query function instead of having to add or remove it manually every time I make some changed. Data collected by the query function is using the two variables on top of the sheet (minimum rating and global buff).
Just to show the step to apply data validation to your whole column, see the following image. Under Cell Range, the image shows Selection!D5:D99, but this is actually set to Selection!D5:D999, it just is truncated due to the size of the text box.
Let us know if this is what you were looking for, or if I've misunderstood your issue.

jqGrid : Display one to many relationship in jqGrid MVC 5

I need to display jqGrid in the below format:
Fomat :
[1]: http://i.stack.imgur.com/CuRYJ.png
Any help would be appreciated.
Thanks
One can use rowspan to display the data in the format. See the answer. The main problem that such grid can almost only display the data. The other functionality starting with sorting by column content, selection of rows, editing and so on can't be used. Is it really what you need? Probably you can better just use the standard <table> with rowspan attributes? It will be still not so simple to group common input data in the format which you want to display.

Filter data by clicking data table row in dc.js

I am trying to create a standardized dashboard using dc.js. One question that i require help with is if its possible to filter the visuals based on a selection of the data table rows.
I am thinking of populating a table with unique column values and then using it to view filtered data.
I found a similar question here how to filter data in dcjs/crossfilter on selection of datatable row?
Not sure if there is another way of doing it internally in dc.js and hence the question.
Here is a sample dashboard made using spotfire. Here i can filter the data by selecting unique values from the filters on the right.
Thank you.
You can try the multiple select menu widget which was contributed in this PR:
https://github.com/dc-js/dc.js/pull/771
This will be included in the 2.1 release of dc.js

jQGrid With Multiple Row Data

I have a requirement to display a single jqgrid into several lines (2 or 3). The user does not want to use the grid horizontal scroll bar and would like to see several data at once.
Anybody with an idea how to do this?
If I understand your question correctly you want to wrap rows in the grid because the grid have large number or rows. It's not possible because jqGrid are base on HTML <table> and the row (<tr>) of table can't be wrapped.
If you have grid with columns which text is long you can consider wrapping inside of cells of grid. See the answer, this one, this one and the answer too.

Set data validation for column including new rows

I have a column in a Google spreadsheet with data validation, that makes a drop down menu available when editing existing rows. Occasionally though contributors create new rows at the bottom of the doc and this validation is lost.
I would like to keep this validatation in the column even in newly created rows (excluding the header row).
I have seen much of this discussion throughout stackoverflow and google help forums, but still cannot find a clear answer.
My hunch is that this would involve Google Apps Acript using an onEdit trigger and then either paint formatting or a combination of the confusing class DataValidationBuilder. (https://developers.google.com/apps-script/reference/spreadsheet/data-validation-builder) but I'm not sure beyond that.
While not necessarily elegant I found the following to work:
create your validation on the entire column
once that's done click the cell(s) that represent the heading, select data / validation, and then click on 'remove validation' on that single cell.
This way any newly inserted rows will inherit the validation set up on the entire column and you don't have to always be reminded that your heading isn't a valid value.
onEdit trigger which uses Range.getDataValidation() and Range.setDataValidation() to copy the rule from an existing row to the new row
While in the data validation dialog screen you can manually enter the range as "Sheet1!A:A" to apply the formula to all of column A.
This also includes new rows added afterwards
I'm not sure if this is a new feature but this worked. Set the validation as list from interval and interval as:
'sheet'!C2:C
This includes all new rows excluding title(first row)

Resources