Combination of ember.js and Jqgrid - jqgrid

I am trying to build a Jqgrid component using ember.js. Is there any existing solution for this, please let me know.
Thanks

As for jQuery plugins probably the easiest solution is to manually manage a view's content by using the view's didInsertElement hook: http://jsbin.com/opobeg/1/edit
The general idea is to access the view's element with this.$(), which returns a jQuery object. Don't forget to tear down event listeners etc. you attached here in the willDestroyElement hook!
Yehuda's article describes this mechanism quite well. Although the article very outdated (still referring to SproutCore 2.0), the basic idea haven't changed much since then.

We have done many cool stuff with https://github.com/Addepar/ember-table as base.

Related

PowerPoint - how to run a macro automatically?

I'd like to run a macro that sets the zoom to 100%, something like Windows(1).View.Zoom = 100, every time ANY file is opened in PowerPoint. The files are already created, so using a template to set the zoom is not possible. How can I do this?
There isn't really a way (that I am aware of) to do this through a macro or powerpoint add-in. You might be able to do it using a custom web add-in but I don't have enough experience with that to provide an example.
After looking around there have been a few success stories. One of which is creating a custom UI element and then adding an onLoad hook to that.
Here is the thread.
Here is a link to the Custom UI Editor Tool However I had no luck in getting it to work. I believe (This is only my theory) that it is not compatible with the latest .NET framework.
If you do end up trying to do this, here is a link to the xml formatting documentation for UI elements. And a link to a little tutorial related to this.
Sorry I couldn't be of more help. This should at least get you started. If anyone else has a simpler way I would love to know as well.

When to use UI Plugin or PlaceHolder

As far as I have understood so far, one can create a custom (native) UI component by following the guide in the NativeScript UI Plugin documentation
But there is also this PlaceHolder that can be added into the XML and then instantiate a custom UI component to be displayed in it.
So what are the differences between both and when to use each of them?
It's completely your decision. In my opinion, if you are going to reuse the component and want to share with the community then make a plugin. There is no right or wrong answer to be honest :)

Adding Custom Objects in Xcode 4.3

I'm working with Objective-C and Xcode for about a year. I customise a lot of generic objects. Few days ago one of my friend asked me a question, but I couldn't answer him. So I try to do something my self. For example:
I created this Custom View:
How can I add this View to the Object Library?. Here:
I don't really know why do I need this. But I decide to figure out how to do this. I hope you could help me with this.
Thanks in advance!
I don't think this will work. You are putting buttons on "top" of a custom view placeholder. The custom view placeholder is used to be able to use - yeah you guessed right - custom user defined views.
So of which class would your view-with-5-buttons-on-top be? I think you are running into a dead end, because that's just not the way to do it in Xcode. If you want to design your custom view graphically, just create a NIB file for it.
I don't think that you can add your own view objects into the object library. Everything I know of are user-defined code snippets which will show up on the right.
Edit
There were things called IB plugins in Interface Builder and Xcode versions prior to 4.
Those were discontinued in Xcode 4 as can be read here for example :
http://xcodebook.com/2011/03/no-interface-builder-plugin-support-in-xcode-4/
Further searches for IB plugin gives a lot more guys telling the same.
Best,
Flo

Using a Telerik control inside a repeater

I am using the asp.net Repeater control. (My company is heavily invested in that, so I can't change it.)
I need a way to create a poup edit window, specific to the row the user clicked on in the repeater, so the user can edit the data in that record.
We have the Telerik controls to use, but I don't know which one. I saw the radwindow, but can find no examples of using it in a repeater. Frankly, Telerik documentation is confusing.
I prefer to use client-side code, ajax and web-services. I'd like to prevent post-backs.
1) Please give me a reference to a specific example of using the Telerik radwindow inside a repeater for this purpose.
OR
2) Clue me in to a better idea.
Thank you.
I don't think there are explicit examples with an asp Repeater, but I found this one with a GridView. The approach should be the same, as it is just another databound control - it shows an easy way to open a RadWindow on the client by passing some parameters (it is actually not possible to open it on the server, it is a client-side object).
Some more complex examples I found on their site here and here. They both update a grid, yet they show a nice way to use AJAX to prevent a full postback.

Alternative to qTip (jQuery Tooltip Plugin)

Can anyone recommend a good alternative to qTip, the jQuery tooltip plugin? I feel like it's slowing down my web app because its adding canvas elements and event listeners all over the place.
GitHub.com uses tipsy. I trust that they have chosen pretty carefully, so that's what I would go for.
The Bootstrap tooltips are "inspired" by Tipsy as well.
jQuery Simpletip.
Take a look at jQueryTOOLS Tooltip
Here are 49 alternatives.
http://www.smashingapps.com/2011/12/05/50-awesomely-useful-yet-free-jquery-tooltip-plugins.html
Yeah I had problems with qTip also.
I ended up making my own. This seems to be happening more often. I just can't find what I want and end up making what I need.
https://github.com/donnyv/next-msg
Plus it has themes
don't forget about the Jquery UI tooltip
And Tooltip Demo
I fount https://github.com/iamceege/tooltipster with almost all essential functions of qTip.
The qTip js file is 64kb while this is 17kb. Which was important in our project.

Resources