[CLOSED] c#/razor gridpanel with locked column will make other non-locked columns vanishes.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] c#/razor gridpanel with locked column will make other non-locked columns vanishes.

      .ColumnModel(
                    //Html.X().RowNumbererColumn().Width(45).Lockable(false).Locked(true),
                    Html.X().Column().DataIndex("UID").Width(55).Locked(true)
                    //.Lockable(false).Locked(true)
                    .Text(@Resources.Quotation.uiQuotationGridHeaderText_0).Renderer("anchorRenderer").CellCls("quolinktext"),
                    Html.X().ImageCommandColumn().Locked(true)
                        .Commands(
                            @*Html.X().ImageCommand()
                                .CommandName("editQuotation")
                                .Cls("editQuotationBtn")
                                .Text(@Resources.Quotation.uiBtnEditQuotation)
                            ,*@
                            Html.X().ImageCommand()
                                .CommandName("reopenQuotation")
                                .Cls("reopenQuotationBtn")
                                .Text(@Resources.NewQuotation.uiBtnReNegotiate)
                        )
                        .Width(55)
                        .Listeners(listener => { 
                            //listener.Command.Handler = "#{DirectMethods}.QuotationCommand(command, record.data.UID, dateFormatRenderer(record.data.CreateDate));"; 
                            listener.Command.Handler = "QuotationCommand(command, record);";
                        })
                        .PrepareCommand("prepareCommand")//.Lockable(false).Locked(true)
                    ,Html.X().Column().Locked(false).DataIndex("Status").Width(150).Text(@Resources.Quotation.uiQuotationGridHeaderText_1).ID("gcol1"),
                    Html.X().Column().DataIndex("FileNbr").Width(80).Text(@Resources.Quotation.uiQuotationGridHeaderText_2),
                    Html.X().Column().DataIndex("ModelNbr").Width(80).Text(@Resources.Quotation.uiQuotationGridHeaderText_ModelNbr),
                    Html.X().Column().DataIndex("Description").Width(250).Text(@Resources.Quotation.uiQuotationGridHeaderText_3),
    blah blah blah..
    and it results like that
    Attached Thumbnails Click image for larger version. 

Name:	2015-02-04 11_24_43-SOIM - Product Quotation - Summary.png 
Views:	5 
Size:	16.1 KB 
ID:	20241  
    Last edited by Daniil; Feb 17, 2015 at 12:38 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 1
    Last Post: Jan 06, 2015, 11:18 AM
  2. Replies: 1
    Last Post: Dec 22, 2014, 1:20 PM
  3. [CLOSED] Gridpanel columns move with locked = true
    By PoloTheMonk in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Aug 12, 2014, 2:41 PM
  4. [CLOSED] Column gridPanel locked
    By tactime10 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 24, 2012, 9:17 AM
  5. [CLOSED] [1.0] Can not select row in locked columns of GridPanel
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 12, 2010, 4:41 PM

Posting Permissions