Hi Carlos,

As for the CSS files, I was experimenting with how I may approach customizing 
themes based off of branding colors for various projects.

Would it be better for me to look at the SASS files for theme customization? 
They are new to me.

Also, would it be better for me to use Maven to build the compiler/framework 
instead of Ant for the time being?

I look forward to any updates related to DataGrids as they are used quite 
extensively in the Flex 3 application we are looking to migrate to Jewel.

Thank you,
Brian

From: Carlos Rovira <carlosrov...@apache.org>
Sent: Wednesday, February 19, 2020 2:57 PM
To: users@royale.apache.org
Subject: Re: Jewel DataGrid Column Sizing

Hi Brian,

ok, I was able to repro some of the issues thanks to your test project.

I think one issue could be that updated CSS with latest changes are only build 
from SASS files with Maven. Since you're using just ANT, you could eventually 
not have the latest updated CSS
each time I make changes to themes I try to compile and commit all changes to 
avoid that to be a problem. So although this could not be an issue, I think is
good you take into account to know how it works.

Other thing is I just commit few minutes ago a fix for "sameWidths", I did one 
this morning, but was still having issues. So right now empty data providers 
must generate Datagrids right with
columns and header aligned with the right widths and white. That should fix 
"columns are misaligned and/or not to the size set in the code"

About your question: "shouldn’t the DataGrid behave like an Excel spreadsheet? 
Show all rows/columns as empty regardless of data"
Sorry, but don't think so. The actual setup of empty lists that fills all the 
space and shows vertical lines but not horizontal lines is the way it works, 
since showing horizontal lines would imply
creating empty dummy rows. I don't have that as a feature, but you can create 
it yourself as a bead and even create a PR so I can check it and add to Royale 
so others interested can use it
and even add that to an example in TDJ.

I could reproduce the rest of problems that make columns shrink when load data 
from a button or clear data, I'll try to solve it as soon as I finish other 
thing I have on the plate right now and hope to have a fix tomorrow.

Finally, I see you have CSS files linked that mostly copy jewel themes. Why 
just not link the themes from Royale to get the updates? (unless you are doing 
changes to the themes to do your own)

Thanks

--
Carlos Rovira
http://about.me/carlosrovira

Reply via email to