Search Type: Posts; User: arivwd

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Is it recomended to use associations in model?
    What is the benefit of model associations?
  2. I just solved it with :



    comboLain.clearValue();
    comboLain.displayField = keyNya;
    comboLain.valueField = keyNya;
    comboLain.displayTpl = new Ext.XTemplate(
    '<tpl for=".">' +
    ...
  3. i got this method



    privGenerateComboLain: function(chart, cmbAsal) {
    var windowModal = chart.up('window');
    var toolbarNya = windowModal.down('toolbar');
    var...
  4. What version is your extjs?
    Please define your data model.
    Do you have checked "internalId" in docs ?
  5. Replies
    2
    Views
    1,088
    Does that go for CheckboxGroup items too??

    In the docs....


    {
    xtype: 'checkboxgroup',
    fieldLabel: 'Two Columns',
    // Arrange checkboxes into two columns, distributed vertically
    ...
  6. Replies
    2
    Views
    1,088
    In html i can write:


    <input type="checkbox" name="how_hear[]" id="how_hear1" value="Website 1">
    <input type="checkbox" name="how_hear[]" id="how_hear2" value="Website 2">
    <input...
  7. I'm trying to add items to checkboxgroup and give em "checked" status to "true" after form rendered.
    The "checked" status come from "ajax.request" response.
    I've called "doLayout" after that.
    Yes,...
  8. i think the problem is in checkboxGroup.removeAll();

    if i remove that line, everytime i call "getRequest();"checkboxes appears and do multiple.
    at first result, the checked status are false, BUT...
  9. First i drew this



    var getRequest = function () {
    var getRequest2 = function() {
    Ext.Ajax.request({
    url: '/system_users/system_groups/data/0',
    callback:...
  10. Sure! Thanks
  11. I use this code to transform textfield input string to uppercase.



    {
    xtype: 'textfield',
    name: 'txt1',
    maxLength: 8,
    fieldStyle: {textTransform: 'uppercase'},
    ...
  12. Replies
    3
    Views
    1,172
    I've changed "idProperty" in model to "id_vendor", still the second console.log result is "null".
    But then i've moved the listeners from the Grid to the store4... and record result shown.


    ...
  13. Perhaps you should change that checkbox into button that has an icon and you can modify that icon in css.
    :D
  14. Replies
    3
    Views
    1,172
    First i set this model...



    new Ext.define('GridModel_Popup_VendorList', {
    extend: 'Ext.data.Model',
    fields: [
    {name: 'id_vendor', type: 'string'},
    {name:...
  15. it's look like that the component is an abstract.. or not rendered... or destroyed?
    isn't it?
  16. Replies
    2
    Views
    2,358
    Have a look at xtype window.
  17. Replies
    3
    Views
    1,743
    Perhaps you forgot to include "CheckHeader.css"
  18. I usually used...



    deferredRender: false,
    monitorResize: true,
    hideMode: 'offsets',


    for every layout that depends on browser/window resizing. IMHO
  19. The 45-day commercial evaluation can be downloaded at : http://www.sencha.com/products/extjs/download/
    If you working in Open Source, you can download it there.

    If you mean "Sencha Architect" or...
  20. I think that is what 'Store' does.

    Request --> Store --> DisplayIt

    whenever you need to display it again, it comes from Store.
    Except you load the Store again in some other ways (change proxy...
  21. the latest version. Sencha Architect 2
  22. I'am sorry, i never play with Ext Designer (or Sencha Architect now).. but i think you have to write the code above manually somewhere in the "Code" view.

    After installing Sencha Architect 2, i...
  23. Well,
    this is an undocumented property that controls the column width. :D
    Have you try it yet?
  24. You can use....


    headerWidth: 200
  25. Replies
    5
    Views
    3,976
    It's in the Docs


    hideHeaders: true
Results 1 to 25 of 33
Page 1 of 2 1 2