Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Janus Grid

Janus Grid

Scheduled Pinned Locked Moved C#
css
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AndieDu
    wrote on last edited by
    #1

    Hi All, Is there anyone in here have some sort of expeience with Janus Grid, if you do, can you please read through. This is about format a cell in Janus Grid, such as: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.TargetColumn.CellStyle.BackColor = Color.LightYellow; This piece of code formats the back color of whole Columns[4] to light yellow, now what i really want is to format a cell, rather than the whole Columns[4] to light yellow. If someone in here can shed me a light will be great.

    A 1 Reply Last reply
    0
    • A AndieDu

      Hi All, Is there anyone in here have some sort of expeience with Janus Grid, if you do, can you please read through. This is about format a cell in Janus Grid, such as: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.TargetColumn.CellStyle.BackColor = Color.LightYellow; This piece of code formats the back color of whole Columns[4] to light yellow, now what i really want is to format a cell, rather than the whole Columns[4] to light yellow. If someone in here can shed me a light will be great.

      A Offline
      A Offline
      AndieDu
      wrote on last edited by
      #2

      Dont worry, guys, I already worked it out myself. here is the solutionif anyone come across the same issue next time: basically once the target column be pointed, then the fco applys on that sepcific cell when condition meets: GridEXFormatCondition fco = new GridEXFormatCondition( this.gridEX1.RootTable.Columns[4], ConditionOperator.Equal, true); fco.TargetColumn = this.gridEX1.RootTable.Columns[4]; fco.FormatStyle.BackColor = Color.LightYellow;

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups