Search Type: Posts; User: chriss

Search: Search took 0.02 seconds.

  1. This selector crashes the browser(ff 5 and chrome )
    Ext.query(".x-tab:not(.fake):not({display=none})")

    Works
    Ext.query(".x-tab:not(.fake){display!=none}")...
  2. Replies
    0
    Views
    626
    Seems like the attribute selector fails in case the value of the attribute is blank.


    <div crscmp="" ></div>




    Ext.select("[crscmp]").first().is("[crscmp]")false
  3. Replies
    1
    Views
    2,123
    I am working on an direct integration for rails 3. The problem i have is that i want to use the same controllers/actions for a rest webservice, so the problem gets quite nasty if you decide not to...
  4. Replies
    1
    Views
    2,615
    A card layout that allows animations when switching cards. Maybe this is not the best solution, this is why i ask you guys to make it better.



    Ext.define("Crs.lib.layouts.Slide",{
    alias:...
  5. The parentId, index, depth and checked fields added by NodeInterface#decorate method cannot be renamed from the config objet. This forces us to include fields having the same name in the response...
  6. Replies
    9
    Views
    5,576
    Try extending the picker class. Take a look at the code below, it will help you to get started



    Ext.define("Ext.TreeCombo",{
    extend:"Ext.form.field.Picker",
    ...
  7. Here is an example. The panel height is set to 0 although it should be 200



    new Ext.form.field.Picker({
    renderTo: Ext.getBody(),
    createPicker: function(){
    ...
  8. Replies
    8
    Views
    6,381
    That's great news and it means that we are finally evolving to css 3. But what about our beloved browser, namely ie?
  9. Just like in any oo programming language, if you override a method and still want to keep the original behaviour, you have to call the original one, in your case add...
  10. Replies
    8
    Views
    6,381
    I don't think that the next version of extjs will use solid-color images for theming, but rather semi-transparent png images( black and white colors, with the opacity less than 100% ) as...
  11. Replies
    8
    Views
    6,381
    Patience until extjs 4 is released :). As i saw in the sencha conf presentations, the only thing you'll have to do for customizing the theme colors will be to change some scss global variables values
  12. You forgot to take out the console and it crashes ( at least for me, in FF )



    change: function(slider, value) {
    console.log(this);
    ...
  13. Pooling is a really bad idea for building a chat. Why don't you try to use web sockets?

    Take a look over this
    http://github.com/LearnBoost/Socket.IO
    http://www.pusherapp.com/
    and try to use...
  14. Replies
    7
    Views
    3,876
    Why don't you use the beforehide event?



    beforehide : ( Ext.Component this )Fires before the component is hidden by calling the hide method. Return false from an event handler to stop the...
  15. I think it would be cooler if the progress bar would use some semi-transparent pgn as a background image( a black to white gradient with some transparency in it ) and a color for background-color....
  16. I used to make the same thing, but i don't think that this is one of the best practices. Considering that one user adds some records, and then deletes or updates them, you'll end with a lot of...
  17. I had the same problem, and here is what i did

    override some ext.direct methods



    Ext.override(Ext.direct.RemotingProvider,{


    doCall : function(c, m, args){
  18. Replies
    5
    Views
    3,730
    Yould could override the getCollapsedEl method like thi

    Ext.layout.BorderLayout.Region.prototype.getCollapsedEl = Ext.layout.BorderLayout.Region.prototype.getCollapsedEl.createSequence(function(){...
  19. Replies
    14
    Views
    19,994
    I see that you succeeded in creating a grid with both drag-drop and checkbox selection model. How did you do that? :)
  20. I needed a simple button with just an icon, so here is my simple extension


    var Button = Ext.extend(Ext.Button, {
    buttonSelector : 'button',
    template: new...
  21. Replies
    16
    Views
    17,369
    Here is my code for the StatusBar for Ext 3.0




    Ext.StatusBar = Ext.extend(Ext.Toolbar, {

    cls : 'x-statusbar',

    busyIconCls : 'x-status-busy',
  22. You can solve this problem by modifying the remoting_provider.rb file from the gem( ruby\gems\1.8\gems\rails-extjs-direct-0.0.3\lib\rails-extjs-direct\rack).
    Replace

    controller =...
  23. Replies
    493
    Views
    146,429
    damncriss@yahoo.com
Results 1 to 23 of 23