Extjs is one of the most advanced javascript frameworks for building interactive web applications.
The class system, Object-Oriented design considerations and the layout system makes Extjs a
good choice for many web developers to adopt it.With the popularity of Extjs and supporting of RTL
languages in the recent years, using Extjs or the Ext.Net framework has grown.
Here I’ve added the Ext.Net Mvc builder for PDateField, PDatePicker, PDateColumn and PGridFilter which
support the persian calendar.The builder uses pdate javascript
library for supporting the shamsi calendar which is based on Extjs 4.
Persian date field and date picker could be used in a form panel.
consider that the pdatefield for examle has all the methods and properties available in extjs datefield but with
the ability to convert the Gregorian date into shamsi date.
In the original pdate library there are some bugs which I fixed so far
and I made some improvements to it :
Pressing arrow keys while holding the ctrl key are now properly working in date picker
Bug fixed in selecting the first month (farvardin) in date picker
Tab button works properly
Now supporting PDateFilter in grid filters
Take a look at the following code:
As you see it’s easy to use. Here are some snapshots of the result:
PDateField and PDatePickerPGridFilter and PDateFilter