kendo spreadsheet paste rows more than default 200 - copy-paste

thanks everbody.
I am using kendo spreadsheet and now encounter a problem. When user copies data from Excel to kendo spreadsheet, if the data rows greater than default 200, it would show "copy area and paste area is not the same size".
I tried to find out the event before paste and increase the rows number, but unlucky I can't find. The thing is I can't anticipate how many rows the user would copy.
Is there anyway can plug-in Kendo spreadsheet clipboard module to increase the rows number accordingly instead of throwing a warning message.
thank you very much.
Jason

Related

How to move a checkbox with a row in google sheets with data sorted using SORT?

I am currently a college student who was trying to make a dynamic google sheet where my data is organized. The premise is as follows:
I input raw data into one spread sheet titled "Raw Data"
That data from raw data is automatically sorted by date using the SORT function to keep it dynamically updated.
If an item in the organized data is checked, then the row turns gray and updates into a corresponding chart.
My problem is that as I add or edit data, the checkbox is stuck to the row. In the first picture, you see the normal data as is.
organized spreadsheet data using a SORT function
However, lets say I add a due date for an assignment on 1/31/23. Then this happens.
Spreadsheet data following SORT function modified to show problem
So overall, my question is how can I lock a checkbox to a specific row so if the row is moved, the checkbox moves with it? If it is needed, I have a public link to the spreadsheet if it helps understand the problem:
Public Spreadsheet 1/31 for Clarification
I currently tried several data validation rules but most of them simply locked the cell from being edited if it was checked.
I also tried modifying the RAW data and adding a checkbox there before the sort function refreshes but that negates the point of the sheet at all then.
I was not sure how else to go about it trying to lock it into that place. Also, I was not sure how to upload as a MARKDOWN text table so I figured an image would suffice for the problem.

Sheets Script - Copy Formatting of Existing Rows to New Rows

I've created a Flash cards template in Google Sheets to use for studying TERMS & DEFINITIONS.
There's an additional functionality I would like implemented with a script that creates new rows according to the format already in use.
DESIRED RESULT
When a user fills out all 25 rows of cards (50 total because 2 columns of cards), I want the "Plus sign" button in the top right of the sheet to be assigned a script that would copy the existing formatted rows and checkboxes to create new cards (essentially copying down the existing formatting).
The ability of this functionality allows users to customize the amount of Flash cards they want to add to the sheet without having to manually COPY and PASTE the rows themselves.
In the provided image, the last rows would be 100:103, COPIED, then pasted beginning on row 104
CHALLENGES
If newly created rows were added and a user wanted to add more, the last row would differ so it would not be rows 100:103
Since the rows would be blank (no entered data), how can Google Sheets determine where the last row is? Can a user defined dialog box open and tell Sheets where the new row should begin? If so, is it possible to also have a user defined number of desired rows created (i.e., Insert 5 rows of cards)?
Please review the following image as a reference.
Copy_rows
Thanks in advance!
Cas

RDLC report dynamic columns based on code

I have an MVC application which displays reports based on the report viewer.
Currently, the report has 4 columns and the requirement is to show columns based on the parameters selected.
I had achieved the solution by using sending parameters to the rdlc file and hiding the columns.
But now the problem which I am having is, when the report is exported as excel the last hidden column is showing as an empty column and this is an issue when printing the report from excel.
I would like to know if there is anything that can be done through code so that the column is not generated at all instead of hiding it. had done a lot of research but didnt find any solution. Can anyone please help me... Thanks!!!
One option would be to update the column's cell expressions to not return anything unless the parameter is set to show that column:
=iif(Parameters!HideColumnValue,Nothing,Fields.YourFieldName.Value)
If your column has background or line formatting that needs to not show when the column his hidden, you can set that as well:
Background Color:
=iif(Parameters!HideColumnValue,"White","Gainsboro")
Lines:
=iif(Parameters!HideColumnValue,"None","Solid")

Problems creating hyperlinks using Apache POI 3.8-beta4 in a SXSSF workbook

It appears that hyperlink cells are not created correctly when using the POI SXSSF implementation. I have taken an exact copy of the example code from the HOW-TO guide for creating hyperlinks and changed the workbook to be SXSSF instead of XSSF, and the hyperlinks no longer function.
Has anyone else seen this problem or discovered a workaround?
Thanks,
Mark.
SXSSF is quite new, and currently aimed at only certain tasks. If you can, I'd advise you to look at how XSSF does it, and submit a patch!
In the mean time, you can probably get away with using the HYPERLINK function instead. Set your cell to be a formula cell, and set the Formula to be something like HYPERLINK('http://stackoverflow.com/','Stack Overflow') and it'll show as a link in Excel
Update: Support was added to SXSSF to support hyperlinks in r1145629
I know this is an old post, but it came up repeatedly while I was doing searches on the same subject.
I'm using POI 3.9X and it does work with hyperlinks, however there is a big downside if you are using really large amounts of rows with a hyperlink.
there is a limit of 65K hyperlinks per sheet in Excel
If you decide to break your workbook into sheets after the 65K mark the total number of hyperlink objects stays in memory (say if using 1 per row), which can cause a huge spike if iterating quickly and can cause Out of Memory errors if not enough Heap... by huge , I mean gigabytes for 200,000 rows.
The use of the formula method DOES work, and I switched to it as it does not have the limitations of creating a hyperlink object that stays in memory when using SXSSF. This is assuming dealing with a URL and not a relation.
For those that see a "0" based on the previous example, make sure to include the "=" before the Hyperlink Excel function

Exporting values of unchecked items in Google Forms checklist

Using Google Forms checkboxes to collect survey responses into a Sheets doc, I find that I can only get the values of checked lines to fill the spreadsheet.
I'm trying to get the unchecked CheckBox values to fill a different cell in the spreadsheet as well, has anyone found out a way to do this?
I'd appreciate any help!
I have a way with spreadsheet formulas.
The drawbacks are the necessities of
manual input of all possible options
copying and pasting a formula for each response (can be done in advance, but if not enough formulas are pasted for the number of responses, the sheet will break)
An ideal solution would automatically detect all possible responses, and could theoretically accept an infinite number of responses without breaking and needing maintenance.
With that said, he's an example of what I suggest:
Google Sheet
Google Form
All possible options on the form must be typed into cells A2:A
cells B2:B show comma+spaces if the corresponding cell in A2:A is not blank, with =arrayformula(if(isblank(A2:A),"",", ")). These commas and spaces are needed later in a concatenate().
Raw data from the Form Responses spreadsheet was brought into D2:E with =arrayformula('Form Responses 1'!A2:B)
G2:G holds the important formulas. They must be copied and pasted to each individual cell for each row.
First, all possible responses in $A$2:$B are filtered based on if the cell in column A can be found in the text in column E.
=filter($A$2:$B,arrayformula(iserror(search($A$2:$A,E2))))
Next, some error catching. I added an iferror() to catch a "N/A, no results found in filter evaluation", and an if(isblank(),"",) to catch if no timestamp is in column D meaning no response was recorded in this row.
=if(isblank(D2),"",iferror(filter($A$2:$B,arrayformula(iserror(search($A$2:$A,E2)))),""))
Finally, do a concatenate() to pull the values and the comma+spaces all into one string inside one cell.
=concatenate(if(isblank(D2),"",iferror(filter($A$2:$B,arrayformula(iserror(search($A$2:$A,E2)))),"")))
Oh, and if you don't like the comma+space being the last characters in the string, in J2:J I did a =arrayformula(iferror(left(H2:H,len(H2:H)-2),"")) which cuts off the last 2 characters of the string in column H.
If I come up with a better solution, I'll let you know. It's an interesting puzzle to solve.

Resources