excel icon indicating copy to clipboard operation
excel copied to clipboard

column size

Open mahrmm opened this issue 4 years ago • 20 comments

Thanks for your hard work.

is there away to control the column's width manually or make it expand to the size of the longest row?

mahrmm avatar Jul 21 '20 03:07 mahrmm

I will soon start working on that as soon as I complete the on-going flutter projects and flutter game.

For the time being an example file would be helpful to fully understand your needs.

~~ Happy to help

justkawal avatar Jul 21 '20 05:07 justkawal

For example this is how the "comment" column looks like produced by the excel library: before

I would like to be able to control "comment" column width (manually or automatically) so i can make it look like this: after

Thanks for your effort in advance,

mahrmm avatar Jul 21 '20 16:07 mahrmm

I thinks that adding the functionality to auto fit column-width will be not possible for now as that requires the screen size and rendering functionalities to calculate the size on the go.

But giving the column with manually can be done, and I will try to add the functionality in the upcoming version.

justkawal avatar Jul 24 '20 10:07 justkawal

I will look forward to it.

Thanks!

mahrmm avatar Jul 25 '20 03:07 mahrmm

hey @mahrmm We have started implementing this functionality, and in the upcoming version you can change the width and height of column and row respectfully. https://github.com/justkawal/excel/blob/7fd12752b179fc6b5e8e06f678950b71f6eb2133/lib/src/sheet/sheet.dart#L921

justkawal avatar Oct 24 '20 06:10 justkawal

Thank you so much

mahrmm avatar Oct 25 '20 18:10 mahrmm

Updates on this ?

eliezedeck avatar Feb 14 '21 16:02 eliezedeck

We could connect this issue with:

https://github.com/justkawal/excel/issues/53

Best regards

dramcio avatar Mar 31 '21 07:03 dramcio

Hey @justkawal , I know you might not have much free time to work on this project which is super great so far, thanks. However, are you working on this issue? I think this is kind of a blocker to use your package in many use-cases. Thanks in advance!

houdayec avatar Jun 07 '21 15:06 houdayec

Hey @justkawal , I know you might not have much free time to work on this project which is super great so far, thanks. However, are you working on this issue? I think this is kind of a blocker to use your package in many use-cases. Thanks in advance!

I have the same issue, I have already prepared the pull request #99

igdmitrov avatar Jun 12 '21 18:06 igdmitrov

@f978gDDfsa Thanks, for the pr Igor

I will review the code and will merge it in a day with other fixes of issues.

justkawal avatar Jun 12 '21 19:06 justkawal

Is this live already? I cannot seem to find any such functionality :(

I'm using excel: ^2.0.0-null-safety-3

Love it btw, thx!

stockifi-sime avatar Aug 31 '21 11:08 stockifi-sime

Is this live already? I cannot seem to find any such functionality :(

I'm using excel: ^2.0.0-null-safety-3

Love it btw, thx!

Try it in your pubspec.yaml:

excel: git: url: "[email protected]:justkawal/excel.git" ref: "null-safety"

igdmitrov avatar Aug 31 '21 12:08 igdmitrov

I keep getting 'pub get failed (server unavailable) -- attempting retry' :(

Edit: Thanks for the reply regardless :)

stockifi-sime avatar Aug 31 '21 17:08 stockifi-sime

image

Dear iCodify, I checked it, but it works, you can download this package on your local computer and use it as "path: ../excel/" or git:

igdmitrov avatar Sep 01 '21 20:09 igdmitrov

Is there going to be a release with that feature?

infodusha avatar Oct 19 '21 15:10 infodusha

image

Dear iCodify, I checked it, but it works, you can download this package on your local computer and use it as "path: ../excel/" or git:

Hi @igdmitrov, I tried to download this but I cant seem to find this in the commits. Justkawal merged this in the null-safety branch but I cant find the merged commit in the null-safety branch under commits. Is there any other way on how to download with your fix included in it? Thank you by the way for this help on Justkawal. This package is really great.

camsethsum avatar May 24 '22 02:05 camsethsum

image Dear iCodify, I checked it, but it works, you can download this package on your local computer and use it as "path: ../excel/" or git:

Hi @igdmitrov, I tried to download this but I cant seem to find this in the commits. Justkawal merged this in the null-safety branch but I cant find the merged commit in the null-safety branch under commits. Is there any other way on how to download with your fix included in it? Thank you by the way for this help on Justkawal. This package is really great.

Dear @camsethsum I checked it, it works.

image image

igdmitrov avatar May 24 '22 09:05 igdmitrov

image Dear iCodify, I checked it, but it works, you can download this package on your local computer and use it as "path: ../excel/" or git:

Hi @igdmitrov, I tried to download this but I cant seem to find this in the commits. Justkawal merged this in the null-safety branch but I cant find the merged commit in the null-safety branch under commits. Is there any other way on how to download with your fix included in it? Thank you by the way for this help on Justkawal. This package is really great.

Dear @camsethsum I checked it, it works.

image image

Hi @igdmitrov, Thank you so much for pointing that out, all this time I didn't know that its already been in the latest null safety version, really my bad. Thank you again.

camsethsum avatar May 24 '22 10:05 camsethsum

image Dear iCodify, I checked it, but it works, you can download this package on your local computer and use it as "path: ../excel/" or git:

Hi @igdmitrov, I tried to download this but I cant seem to find this in the commits. Justkawal merged this in the null-safety branch but I cant find the merged commit in the null-safety branch under commits. Is there any other way on how to download with your fix included in it? Thank you by the way for this help on Justkawal. This package is really great.

Dear @camsethsum I checked it, it works. image image

Hi @igdmitrov, Thank you so much for pointing that out, all this time I didn't know that its already been in the latest null safety version, really my bad. Thank you again.

You are welcome!

igdmitrov avatar May 24 '22 10:05 igdmitrov

Sorry for the trouble. Can you please confirm that are you having this trouble in latest version: excel: 2.0.1 If not, please feel free to re-open the issue again.

justkawal avatar Dec 17 '22 15:12 justkawal