Monday, December 7, 2015
Saturday, November 21, 2015
Saturday, October 24, 2015
Thursday, October 22, 2015
Saturday, October 17, 2015
Tuesday, September 29, 2015
Sunday, September 13, 2015
Tuesday, September 8, 2015
Friday, August 21, 2015
Android Studio Error - java.lang.UnsatisfiedLinkError ... couldn't find "libstlport_shared.so"
PROBLEM:
While trying to use the SmartStore feature of the Salesforce MobileSDK on Android Native, I encountered the following error while trying to debug the app.
java.lang.UnsatisfiedLinkError ... couldn't find "libstlport_shared.so"
CAUSE:
It appears the issue is with Gradle not supporting native libraries.
The workaround is to create a zip archive of the armeabi/, rename it to .jar in your libs/ and include it as a gradle dependency.
SOURCE:
https://groups.google.com/forum/#!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J
While trying to use the SmartStore feature of the Salesforce MobileSDK on Android Native, I encountered the following error while trying to debug the app.
java.lang.UnsatisfiedLinkError ... couldn't find "libstlport_shared.so"
CAUSE:
It appears the issue is with Gradle not supporting native libraries.
The workaround is to create a zip archive of the armeabi/, rename it to .jar in your libs/ and include it as a gradle dependency.
SOURCE:
https://groups.google.com/forum/#!msg/adt-dev/nQobKd2Gl_8/Z5yWAvCh4h4J
Saturday, August 15, 2015
Monday, August 10, 2015
Sunday, August 9, 2015
Sunday, July 26, 2015
Saturday, July 25, 2015
Sunday, July 12, 2015
Friday, July 3, 2015
Thursday, July 2, 2015
Sunday, June 28, 2015
Sunday, June 21, 2015
Sunday, June 14, 2015
Saturday, June 13, 2015
Sunday, May 24, 2015
Saturday, May 16, 2015
Sunday, April 19, 2015
Sunday, April 12, 2015
Sunday, April 5, 2015
Tuesday, March 24, 2015
Monday, March 23, 2015
Sunday, March 15, 2015
Sunday, March 8, 2015
Saturday, March 7, 2015
Friday, March 6, 2015
How to change the Date Format of an inline DatePicker in jQuery Editable DataTables
I've been working on a .Net MVC project that uses an older version of jQuery Datatables. The work involved upgrading a datatable to be editable. Using this CodeProject article I successfully upgraded the DataTable with DataTables Editable.
DataTables editable allows for non-standard inline input types, one of which is a datepicker, described here, which uses jeditable-datepicker. One problem I faced was setting the format of the datepicker to EU format dd/mm/yy rather than the default US format mm/dd/yy.
After exhausting lots of methods of conversion both client side and server side, I finally stumbled upon the github page for jeditable-datpicker which lists format as one of the usage options. A simple option yes, but lack of detailed documentation for DataTables Editable caused me to go searching and experimenting for longer than I should have needed to. Hopefully this post will save someone else that time :-)
For posterity, the code below shows how to set the format option of a datepicker in an editable datatable:
...
"aoColumns": [
{ type: 'datepicker',
sSuccessResponse: "IGNORE",
datepicker: {
dateFormat: 'dd/mm/yy'
}
},
]
...
SOURCE LINKS:
CodeProject - ASP.NET MVC Editable Table (jQuery DataTables and ASP.NET MVC integration - Part II)
jQuery DataTables Usage Reference
GitHub - jEditable Datepicker
DataTables editable allows for non-standard inline input types, one of which is a datepicker, described here, which uses jeditable-datepicker. One problem I faced was setting the format of the datepicker to EU format dd/mm/yy rather than the default US format mm/dd/yy.
After exhausting lots of methods of conversion both client side and server side, I finally stumbled upon the github page for jeditable-datpicker which lists format as one of the usage options. A simple option yes, but lack of detailed documentation for DataTables Editable caused me to go searching and experimenting for longer than I should have needed to. Hopefully this post will save someone else that time :-)
For posterity, the code below shows how to set the format option of a datepicker in an editable datatable:
...
"aoColumns": [
{ type: 'datepicker',
sSuccessResponse: "IGNORE",
datepicker: {
dateFormat: 'dd/mm/yy'
}
},
]
...
SOURCE LINKS:
CodeProject - ASP.NET MVC Editable Table (jQuery DataTables and ASP.NET MVC integration - Part II)
jQuery DataTables Usage Reference
GitHub - jEditable Datepicker
Monday, March 2, 2015
Thursday, February 26, 2015
Sunday, February 22, 2015
Wednesday, February 4, 2015
Tuesday, February 3, 2015
Monday, January 26, 2015
Subscribe to:
Posts (Atom)