Selecting different columnmodel for gridpanel.

  1. #1

    Selecting different columnmodel for gridpanel.

    Hello there
    I want to select different column model for gridpanel runtime based on some selected condition. Can it be done?
    If yes, please help me with some example.
    thanks in advance
  2. #2
  3. #3
    I want to use a different set of columns encapsulated in a different columnModel based on some condition at run time rather than modifying the existing columnModel. Is that possible?
  4. #4
    Well, .Reconfigure() can apply an ColumnModel instance.
  5. #5
    Quote Originally Posted by Daniil View Post
    Well, .Reconfigure() can apply an ColumnModel instance.
    Can you provide me an example? When I try to change the column model from code behind it says its read only and cant be changed.
    An example will do.
    thx
  6. #6
    Quote Originally Posted by masudcseku View Post
    Can you provide me an example? When I try to change the column model from code behind it says its read only and cant be changed.
    An example will do.
    thx
    It would be best if you could post a simplified code sample demonstrating how you have things configured. We provided two working code samples above.

    Please keep you code sample to a single .aspx and remove all code that is not directly related to the problem.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] GridPanel get Column in ColumnModel by ID
    By csharpdev in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 16, 2017, 6:15 PM
  2. Replies: 4
    Last Post: Apr 10, 2012, 8:48 PM
  3. Replies: 2
    Last Post: Oct 07, 2011, 3:55 PM
  4. Replies: 2
    Last Post: Oct 07, 2011, 3:54 PM
  5. Add ColumnModel to GridPanel
    By aalkema in forum 1.x Help
    Replies: 0
    Last Post: Apr 27, 2009, 11:58 AM

Tags for this Thread

Posting Permissions