Column Margin and/or Padding

Hi,

Currently I'm having an issue with getting the width of my DateTime picker Dialog window to be correct. (See attachment).

Setup: I used your DateTime Picker example. Works great.

Issue: I removed the 24 hour column and made it a 12 hour, some of our users would not like 24 hour selection.... Removing the 24, required me to add the AM & PM Meridiem. Added just fine, however, now matter how wide the I set the Width of the Dialog, the Meridiem column is still getting cut off. There is plenty of room to fit this other column.

Question: Is there anyway to adjust the width/margin/padding of the individual columns?

Thanks,
Pete



Attachment: IMG_0085.PNG_994f9c0a.zip

5 Replies

RB Rabhia Beham Kathar Mideenar Syncfusion Team March 8, 2018 07:36 AM UTC

Hi Peter, 
Thanks for Contacting Syncfusion Support. 
Query 1: To set the the AM & PM Meridian inside the Picker view. 
We have analysed your requirement and it can be achieved with PickerWidth Property.We have prepared a sample based on your requirement. Please have the sample from the below link. 
Code Example: 
PickerWidth =500;
 
Query 2: Is there anyway to adjust the width/margin/padding of the individual columns. 
ColumnWidth can be set to each column by handling the OnColumnLoaded event. When ColumnWidth is set it gets set to both the items rendered in that column and the corresponding Header of that column. 
Please let us know if you have any concern. 
Regards,
Rabhia Beham K.
 



PF Peter Fournier March 8, 2018 02:56 PM UTC

While this does work on a tablet, however it does not fit on a phone.

There's a ton of wasted space between the columns, no way to reduce this?


VA Vinnalan Aravazhi Syncfusion Team March 9, 2018 12:53 PM UTC

Hi Peter,

We have have checked your requiremnt "Reduce the space between the columns" from our side and we have created a sample based on your requirement. In this sample we use OnColumnLoaded event to reduce the space between columns. Please find the sample from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/136286/ze/DatePicker_2200459109 

Please let us know if you have any other queries.

Regards,
Vinnalan K A. 



PF Peter Fournier March 12, 2018 12:53 PM UTC

Great thank you so much!


VA Vinnalan Aravazhi Syncfusion Team March 13, 2018 04:00 AM UTC

Hi Peter,

Thanks for the update.

We are glad to know that you have achieved your requirement. Please let us know if you have any other queries.

Regards,
Vinnalan K A.

Loader.
Up arrow icon