[CLOSED] Plugin

  1. #1

    [CLOSED] Plugin

    I use ext:RowEditor in Plugins for Gridpanel. In <Editor> I put ext:ComboBox. When I select some text in combo and click Update in grid I see value of selected item. How can I set to see selected text from combo?

    Last edited by Daniil; Nov 22, 2011 at 4:16 PM. Reason: [CLOSED]
  2. #2

    Please see the Department column here:
  3. #3
    Thank you! That is solution.
  4. #4
    Hmm, but now I have problem with inital rendering. When grid inital shows there is no text in column. In debug I saw that problem is on call function :

    var departmentRenderer = function (value) {
                var r = StoreCombo.getById(value);
                if (Ext.isEmpty(r)) {
                    return "";
                return r.data.Name;
    var r = StoreCombo.getById(value);
    "value" gets the text of DisplayField from combobox
  5. #5
    Then you should:

    1. Set up a respective field as an IDProperty of Store's Reader. Then set up that field as a DataIndex of a ColumnModel's Column.


    2. Find a record in a different way.

    var findRecord = function (store, prop, value) {
        var record;
        if (store.getCount() > 0) {
            store.each(function (r) {
                if (r.data[prop] == value) {
                    record = r;
                    return false;
        return record;
    var r = findRecord (StoreCombo, ComboBox1.displayField, value);
  6. #6
    In my case I need to put in Window where is my grid refresh because on initial show window code don't show text in grid column

                <BeforeShow Handler="refreshGridView()" />
                function refreshGridView() {
    Maybe this someone helps to shorten the hours of effort.
  7. #7
    Thanks for the update.

    P.S. Providing a full sample to reproduce a problem always gives you the best chance to get a solution as soon as we can.

Similar Threads

  1. [CLOSED] Call plugin
    By ppettigrew in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 14, 2012, 8:14 PM
  2. [CLOSED] EditableGrid Plugin bug
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 24, 2011, 7:31 PM
  3. [CLOSED] Mask Plugin
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: May 19, 2011, 11:00 AM
  4. [CLOSED] [1.0] BottomTitle Plugin Bug
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 18, 2011, 10:19 AM
  5. [CLOSED] GridFilters Plugin and MVC
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jan 06, 2011, 3:23 PM

Tags for this Thread

Posting Permissions