Results 1 to 5 of 5

Thread: Edit code

  1. #1
    Sencha User
    Join Date
    Oct 2017
    Posts
    54

    Default Answered: Edit code

    Hi all,

    Why cannot I edit code in Sencha Architect? Did I miss something? It's not reasonable to not be able to edit the code!

    Thanks in advance,
    Joud

  2. You can't edit any code you want in the current version of SA. Only parts of the code, you can get into the edit mode usually using the config panel on the right, where you edit the code of the functions or some configs etc

  3. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795
    Answers
    103

    Default

    You can't edit any code you want in the current version of SA. Only parts of the code, you can get into the edit mode usually using the config panel on the right, where you edit the code of the functions or some configs etc

  4. #3
    Sencha User
    Join Date
    Oct 2017
    Posts
    54

    Default

    So if I want to add "Edit" icon in a grid column (I want for the column cells to include "Edit" icon), what to do in this case?

  5. #4
    Sencha Premium User
    Join Date
    Oct 2012
    Location
    United States
    Posts
    130
    Answers
    11

    Default

    Quote Originally Posted by joud View Post
    So if I want to add "Edit" icon in a grid column (I want for the column cells to include "Edit" icon), what to do in this case?

    are you using modern? If so look at the cell config, and make that an object and insert it into config editor..

    If you're using classic, consider look at a widgetcolumn

  6. #5
    Sencha User
    Join Date
    Oct 2017
    Posts
    54

    Default

    Quote Originally Posted by grosst View Post
    are you using modern? If so look at the cell config, and make that an object and insert it into config editor..

    If you're using classic, consider look at a widgetcolumn
    Thanks a lot for your helpful reply. I'm using the modern toolkit, so in the cell config I can write something like:
    cell: {
    xtype: 'gridcell',
    iconCls: 'fa-download'
    }
    Assuming that I want to show a download icon in each cell of a column?

Similar Threads

  1. License to edit example code
    By BillHubbard in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 21 Nov 2013, 4:27 AM
  2. [CLOSED] "Edit template button" does not show with a Panel? Cant edit template code?
    By smushb in forum Sencha Architect 2.x: Bugs
    Replies: 2
    Last Post: 25 Sep 2012, 8:03 PM
  3. Edit sencha code
    By vijay.kadam in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 3 Jun 2012, 1:10 PM
  4. Why Ext Designer can't edit in code?
    By kml2006t in forum Ext Designer: Help & Discussion
    Replies: 4
    Last Post: 10 May 2012, 7:35 PM
  5. better way for code to edit a record?
    By franklt69 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 17 Mar 2007, 4:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •