Sencha ExtJS 5 Checkbox DataBinding

image.png

I often find that something does not work as I expect and I have to take the problem to bits.  In this case, I was expecting to post a bug to the Sencha team about DataBinding and checkbox field but as is often the case, making the simple example brings out the correct solution and understanding.  So, in light of sharing, here is my simple working example of two way databinding with Sencha’s ExtJS 5. You can see from the example and code that 1,true (and “on” not shown) all check the box as you would expect. Ext.application({ name: 'ProblemBindApp', launch: function () { Ext.create('Ext.container.Viewport', { autoShow: true, viewModel: { data: { … Continue Reading

Xamarin Meetup Tonight In San Mateo: New Features in Xamarin V3 and High Level Overview

image.png

Hope You Can Make it! … Continue Reading

With jQuery and ASP.NET MVC Almost Radio Buttons

image.png

The Silicon Valley Code Camp web site used jQuery to do a lot of the page markup manipulation.  Behind the scenes of course is ASP.NET MVC5 which has a lot of helper methods for things like Check Boxes and Radio Buttons.  General purpose methods are nice (until they are not).  I’m building a more sophisticated “Opt-Out” for the code camp site and have created a choice where the user can say they want “All Emails” or “Critical Emails”.  I did not want to have a third choice for “No Emails” since say they don’t want all and they don’t want critical implies they don’t want any.  Also, it does not make sense for the user to say they want both “All” and “Critical”. It’s a one or another, just like radio buttons. Since I could not use … Continue Reading

Microsoft Surface Pro 3 Mini Review

image.png

I just went over to a Microsoft store here in San Jose, California and tested and did a review of a Surface Pro 3 for about 30 minutes.  As the owner of a Microsoft Surface Pro 2, I was quite curious about the new model from Microsoft.  I’ll wrap up my thoughts quickly in bullet points.   The Trackpad on the keyboard works well (huge improvement) The screen is bigger, but still pretty small (see picture below for comparison) It feels a little less heavy but not that much to me The keyboard itself seems to type better I love the variable position built in stand Personally, I’m not a big pen user so though I understand the pen technology is much improved, it did not do much for me.  Like I mention above, the keyboard is much … Continue Reading

Follow

Get every new post delivered to your Inbox

Join other followers: