DHTMLX Freeze grid is not working in IE - dhtmlx

When freeze applied to dhtmlxgrid the header repeating based on the split value.
Before applying split
code desc Qtytype w1 w2
Part A Part A desc Demand 100 200
After apply split the grid looks like in IE
code desc Qtytype code desc Qtytype w1 w2
Part A Part A desc Demand 100 200 300 400 500
Kindly advise how to arrest the header repeat in IE.Thank You

Using SplitAt before init. And try to Load the Header and Detail dhtmlx ajax synchron call.,

Related

QUERY + IMPORTRANGE : Did I reached a limit of 999 rows?

Issue with an incomplete import in google sheet
Following this thread :
VLOOKUP + QUERY + IMPORTRANGE > import all lines with condition true
I have a list of spells that today exceeds 1010 items.
The source data is imported in different spreadsheets with the following formula that does work : =ARRAYFORMULA(IFNA(VLOOKUP(A3:A; QUERY({IMPORTRANGE(A1; I1)}; "select Col2,Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col10,Col11,Col12,Col13,Col14,Col15 where Col1=TRUE"; ); {3\ 4\ 5\ 6\ 7\ 8\ 9\ 10\ 11\ 12\ 13\ 14\ 15}; )))
However, I reach a limit at row A1001 ; the following wont get filled with any data even though the remaining items in the source data followed the query rules.
I import a table of 15 columns, so I was wondering if there was a limit of 15*1000 cells in google sheet and if so, what was the best way of getting the extra rows.
Thanks !
Try inserting in Sheet 2 the full QUERY:
=QUERY({IMPORTRANGE(Sheet1!A1;Sheet1!I1)}; "select Col2,Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col10,Col11,Col12,Col13,Col14,Col15 where Col1=TRUE"; )
(PS: I'm guessing your first sheet is called Sheet1, please check it)
And in Sheet1 you can use FILTER:
=BYROW(A3:A,LAMBDA(each,IFNA(FILTER(Sheet2!B:O,Sheet2!A:A=each))))
Let me know!

Tableau Help! Adding calculated columns and D day filters

i am fairly new to tableau, i am working on app health attributes basically, like installs , uninstalls,re installs,logins and other levels such as l1 , l2, l3(the user goes on till which level basically)
there are two things that i basically need to do:
Add d filters like
when datediff(days, event_time, install_time) < 2 then D1,
when datediff(days, event_time, install_time) < 7 then D7,
when datediff(days, event_time, install_time) < 30 then D30
else null end as d_filter
so basically a drop down filter of D DAYS which applies to all the metrics.
Adding columns like l1/installs,l2/installs i have tried creating a calculated field but when i finally add that to the view , it shows 0 values( even when i tried to view the ratio in a new sheet it showed wrong calculations)
i am attaching the screenshots for both the things, any help would be greatly appreciated!!!

In Pentaho Data Integration can I output conditionally?

I need to output a different CSV file every 100 rows. For example, if there are 305 rows in a stream, I'd need to output a CSV for rows one through 100, 101 to 200, 201 to 300, and 301 to 305.
I got a column for the last row number, and built a page number variable which increments every 100 rows. I then tried searching online since I can't yet conceptualize a solution.
var numberOfInvoicePages = Math.ceil(Number(lastRow) / 300);
if(rowNumber % 300 == 0){
pageNumber += 1;
}
I expect to get a CSV which says ${baseTitle} ${pageNumber} for each page, and for the actual results I don't yet know how to build this.
In the Text File output step, you can adjust on how many rows the output will split to another file, under the option 'Split ever ... rows'.

JqGrid gives wrong result of number of records,number of pages and rowNum when used filter toolbar

In my app, I am using JQGrid to render the data in Grid.
In this case, my Grid is set to loadonce:true and It also provides filter toolbar facility.
My problem is, I am getting wrong count of total number of pages,total number of records and rowNum of the grid when i have used filter toolbar.
For example : My grid is having total 14 records and rowNum = 5. So there are total 3 pages as displayed in below image.
Now the code below works fine for me in normal case (case in which I have not used filters toolbar).
var records = $('#list10').getGridParam('records');
var rowNum = $('#list10').getGridParam('rowNum');
var pageCount = Math.ceil( parseInt(records) / parseInt(rowNum));
But When I used filters the above written code is not giving me updated result. Consider the image below for example ..
Here for this case the above mentioned code gives me same result as .. total pages =3 , total number of rows =14 and rowNum = 5.
Can anyone suggest me that How can I retrieve the updated value of page,total,records,rowNum when I have used filter toolbar ??

How to apply rowspan and colspan to cell in Dhtmlx Grid view

My dhtmlxgrid view looks like the below mentioned.Using Json data.
code desc Qtytype w1 w2
Part A Part A desc Demand 100 200
issued 150 100
stock 200 200
F/C 100 250
Part B Part B desc Demand 100 200
issued 200 100
stock 300 200
F/C 100 250
I want to apply the rowsapn and colspan cell level.Kindly anyone suggest how to apply span in the cell level to make the view aboved.Thanks in advance.
There are two ways
a) after data loading you can use js api to make necessary col and rowspans
grid.load("some.url", function(){
grid.setRowspan(1,0,4) //1 - id of row
grid.setRowspan(1,1,4) //1 - id of row
});
b) you can define rowspans directly in data, in case of xml it will be
<row id="1"><cell rowspan="4">Part A</cell>
as far as I know the similar syntax must be available for json, but it is buggy in current version (3.5) and works for xml only.
After Data loaded you can apply like this
dfGrid.forEachRow(function(id){
if((id)%4==0)
{
dfGrid.forEachCell(id,function(cellObj,ind){
if(ind <= 3){
dfGrid.setRowspan(id,ind,4);
}
});
}
});
4 denotes how many row you need to apply.
3 denotes how many coloumn rowspan should be applied.
Note -- Id should be starts from the multiple of 4. based on the no of row the value of id varied ex.3 means id should start with multiple of 3.
Thank you.

Resources