How to read active sheet data in laravel 5.3 - laravel-5

I have many sheet in a excel file.I want to read this sheet data which sheet is active. How can I do this ?? do you have you any Sir's ??

Related

How can I switch sheet focus in Numbers using JXA?

I am working on a JXA script that will be used to copy tables from an existing Numbers sheet, and then paste them into a newly created sheet (in the same document) before making some modifications to individual cell values. I have most of what I need working, but have been unable to figure out how to change the active sheet from the source sheet to the destination sheet (or any sheet).
I have tried the following;
Numbers.documents[0].sheets.byName({name: currentSheet}).activate
It seems to execute (there are no errors), but nothing happens in Numbers. The active sheet does not change. I have the script working in AppleScript using
set active sheet to sheet currentSheet
Any help is appreciated.
I hope this help.
var numbersApp = Application("Numbers");
var docNumbers = numbersApp.documents[0]
// First sheet
docNumbers.activeSheet.set(docNumbers.sheets[0])
// Using sheet name
docNumbers.activeSheet.set(docNumbers.sheets["sheetName"])

ReportViewer excel export set sheet names

I'm using the WebForms variant of the ReportViewer.
Let's say my report have records separated by two logical parts - CommonData and PersonData (they all have common field, say personId).
I've created the report to display one record on two pages - one with CommonData and one with PersonData.
When I click the export to Excel, the excel files contains one Sheet for eage page from the report. This result, in have one sheet for CommonData and the next sheet is for PersonData. The default labeling of the sheets is "ReporPerson1", "ReportPerson2". I want to change this naming with the following convention - "<> Common data" and the next one to be "<> Person data"
How can I do that? I found solutions setting the PageName property of the report, but this will set all sheets with this name!
I have found the solution in this thread
http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design-naming-excel-worksheets.aspx

how to display serial no for every record in detail section using telerik report

I have a telerik report.The report has 10 records.I want to display a serial no for every record in detail section.I used RowNumber() function but it displaying 1 for all records.
You have to change the function data scope according to your report layout. For example: =RowNumber("MyParentGroupName")
Create a telerik textbox in Details section and give value as "= ColumnNumber()"
then sl.no will come automatically.

How to display a DataTable data in Windows Phone 7 in a tabular format?

I have a DataTable object in C#.Net with 50 rows and 10 columns.I want to display this data in Windows Phone.Is there any control in Windows Phone which takes the data from a DataTable source and displays it ?And user should be able to see the 10 columns data of each record.
Thanks in advance.
There is no specific table control for this, but you can create a manual table using grids with column and row definitions and bind them to your data in view-model

jqGrid issue - getRowData

I seem to be havign yet another problem with jqGrid :-( I am trying to get the current row data using getRowData, but all I get back is an array [object, Object]. What am I doing wrong?
This is what I'm using
var rowdata = $("#list").jqGrid('getRowData');
Can somebody help?
thanks
After reading in the comments additional information about your problem I would recommend you following.
If you need to print the page which contains jqGrid you could need to prepare additional CSS for media="print". See here for additional information.
The method getRowData called without parameters give back the array of rows which are array of visible cells. For every cell will be called unformatter, so the data could be not identical to to data which you posted to jqGrid. Moreover if you use data paging or filtering you can have another problem: only visible cells from the current page will be returned back.
I personally prefer to use export to Excel instead of printing the pages. In the case I add an custom button in the navigator bar. If the button will be clicked by the user the request to the corresponding MVC controller action will be sent. The server get all data for the corresponding grid from the database and generate XLSX Excel data as stream with respect of Open XML SDK. The corresponding code is not very small, but in the way one can generate perfect Excel file formatted like it is required. In the case you don't need install Microsoft Office on the server side. The user just opens Excel with all data if he/she clicks the "Export to Excel" button in the jqGrid. In Excel there are very good printing possibility. The most users knows Excel very good and can customize the data (hide some columns for example) before printing.
So my suggestion to you to spend some time in implementing export to Excel instead of implementing printing of jqGrid directly.

Resources