Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show A-G columns by defaults #8

Closed
gulshan-escalon opened this issue May 1, 2017 · 17 comments
Closed

show A-G columns by defaults #8

gulshan-escalon opened this issue May 1, 2017 · 17 comments

Comments

@gulshan-escalon
Copy link

Hi Paul,
Hope you are doing great !!1

Actually I have to show the columns A-G and 8 rows by default unless data is in 2 rows and 2 columns. If data is in 2 rows and two columns then I want to show the rest cells blank but look like an excel. Please provide the solution for that

Thanks

@pphod
Copy link
Contributor

pphod commented May 1, 2017

Sorry, could you send a screenshot?

@gulshan-escalon
Copy link
Author

excelweb

@gulshan-escalon
Copy link
Author

Above is the screenshot. I want to dispaly the excell view in whole screen if data is less. Currently A and B columns are displaying , I want to display till G columns with blank value

@pphod
Copy link
Contributor

pphod commented May 2, 2017

Something like this?
http://jsfiddle.net/02rcoe0a/1/

@gulshan-escalon
Copy link
Author

No , you can see the black space in the view , I want to cover that black space with excell view

@pphod
Copy link
Contributor

pphod commented May 2, 2017

You need to fill with blanks...
http://jsfiddle.net/02rcoe0a/3/

@gulshan-escalon
Copy link
Author

Actually I am using csv file to display data ?

@gulshan-escalon
Copy link
Author

Paul please reply I am stuck now and could not proceed with this now . I am using csv file not array like you sent me in above example

@pphod
Copy link
Contributor

pphod commented May 3, 2017

Update your version from the master repository. and use the directive - minDimensions:[10,8] for example. 10 for ten columns, 8 for eight rows.

@pphod pphod closed this as completed May 3, 2017
@gulshan-escalon
Copy link
Author

Paul I can see there is no file jquery.jexcel.js , please mention which file I need to replace here

@pphod
Copy link
Contributor

pphod commented May 4, 2017

In the folder dist.

@gulshan-escalon
Copy link
Author

Hi Paul
I put the the code provided by you like below. Please look into this and guide me is it ok ?

$('#myExcel').jexcel({
csv: 'http://devhub.escalon.services/web/csv/{{userId}}/{{sheet_id}}/{{defaultCsvFile}}.csv',
minDimensions:[10,8],

});

Thnaks

@pphod
Copy link
Contributor

pphod commented May 4, 2017

Yes, that's correct with you want 10 column and 8 rows minimum.

@gulshan-escalon
Copy link
Author

Thanks Paul , Its working in mozzila but not working in Chrome browser . please look into once and let me know

@gulshan-escalon
Copy link
Author

Hi Paul ,

please reply my above questions

Thanks

@pphod
Copy link
Contributor

pphod commented May 8, 2017

It is working fine on chrome:
http://jsfiddle.net/7tv6j2h1/

@pphod
Copy link
Contributor

pphod commented May 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants