Does anyone knows how to make SfCalendar's week view pretty? - xamarin

I'm working with Xamarin Forms and Syncfusion Calendar (not Scheduler).
I got the calendar to work including week view. But, I cannot find a way to make it pretty.
I wanted to be like this.
But in Syncfusion, the spaces between the the days (Sunday, monday, etc) and the numbers (7,8,9 etc) is too far apart. It's like 1 to 2 rows apart.
Please help.
Thank you

I found out the answer.
its a simple, wrap it in a grid.

We would like to inform you that as per implementation of SfCalendar, the space between the days in calendar is not reduced or changed.

Related

Vaadin 23 Excel like grid

I'm in the need of an Excel like grid in an attempt to convert an "application" written in Google Calc to a real application. I've got one implementation using Vaadin, but it (also) suffers from a long page construction. The screenshot below uses a CSS flex grid with individual divs, and given 6 weeks, there are over 5000 individual divs.
Constructing this page takes over 20 seconds, not something users will be happy about. I'm working on a version based on a table, but it does not seem to improve much. In the end the same amount of cells need to be constructed, whether they are DIVs or TDs does not seem to matter much.
Is there a way to construct such a grid in a more speedy way? I'm more than happy to solve "where did the user click?" on the server side. To be aware of: besides the number of cells themselves, each also has specific content, so just getting a grid shown is not enough.
Each component (div, or something else) is managed by the server. So when you have 5000 of them it's quite slow. You need to reduce the number of components managed by the server.
I can't give you a better answer since I don't know the requirements. But the idea is to try to combine some elements.
You have an example of a table generated ( instead of each element one by one) here: https://cookbook.vaadin.com/grid-details-table.
You can also create or own component. There is also a paid add-on: spreadsheet which seems to fit your needs. It's still in preview: https://vaadin.com/roadmap
The problem here is the complexity of the UI itself. Rendering 5000+ cells will be slow what ever method you use and what ever framework you use. There will be big amount of elements in the DOM and you need to load also lot of data upfront. And as you see the result is huge, and it wont fit most screens. So I would recommend further design of the UI. Is it really necessary to show all the weeks at once? Your UI's complexity will already reduce a lot if you show only one week at the time and add buttons to browse the weeks forwards and backwards. But even with that optimization you will have lot of columns. I would consider adding another browsing direction by day. Further knowledge of the actual purpose of the UI will naturally give more insight how to develop it further.

D3js week calendar

I need for a study project to represent event occurrences on a week calendar like the one below:
each pink line represents the day and time the event occurred.
my issue is that although I know how to setup the axes, I don't know how to make the event display a small line and not a dot
can anyone please give me a hint on this ? thanks a lot in advance !!!
Michael

NSDatePicker alternative

one of my OS X apps deals with various dates. The user has to enter dates at many different places and most of the dates are not around the current date but somewhere in the past.
NSDatePicker (in graphical mode) offers a very limited UI: It is not possible to jump to a specific year or month for example. The arrow controls to switch between months are quite small and hard to click...
Bottom line is: Does anyone know a good graphical alternative to NSDatePicker? While there seem to bee hundreds of UIDatePicker alternatives with various different styles and settings I could not find any solution for NSDatePicker
Thanks!
This is an old question but I have encountered the same problem and that's why I answer your question.
It is very surprising, but, on a lot of points, I think that OSX's GUI is very limited unlike iOS.
I'm afraid that you have to create a component yourself from scratch.
An other solution is to use this open-source component : MLCalendarView (Calendar-OSX) available on cocoacontrols.com.
Yes, NSDatePicker hasn't had much love for a while.
If you want a better looking date picker for OS X, NMDatePicker is an MIT-licensed date picker implemented in Swift and as of late 2015, it has been receiving attention.
Note that it doesn't have the month or year selection that you have referred too - but feel free to make a commit!.
Might I suggest trying NSDatePicker in non-graphical mode? It's not as nice looking, but you can directly enter numerical quantities for any of the components, and it will not allow entry of illegitimate quantities (e.g., Mar 32 or Jun 31).

display rating stars xcode

In a new xCode project i'm parsing a rating for example 3,5. But i want to display this score in my App. Not as a text but as in images like 3 filled stars and 1 halve filled star. Is there a way to do it? Yes? How i can do this?
What elements i need to work to display the stars? Could somebody help me out?
Like in the App Store
There would be several different approaches for this, like creating a UIView subclass that would implement a method for filling itself with UIImageviews (that would represent full or half stars) depending on rating but if you want to avoid reinventing the wheel you can find several iOS components that will do the job. Some of them can be found here.

Modifying calendar library to restrict length by number of days

I would like to use the built in Codeigniter calendar library to create a calendar with the 40 next days. I would like each month to be displayed as a normal calendar placed horizontally by each other. In other words, there should be 2-3 calendars horizontally aligned.
Any good tip where I should start?
create your own user control. using calender control
hope this will give you a clue to proceed

Resources