assaeful
2013-12-11T01:51:15Z
Hi All..

I want to insert format picture in header Igrid x, But i have a problem images would not in input.
Please aid how to fix this problem.
Igor/10Tec
2013-12-11T08:05:04Z
Do you mean column header icons? You can assign an icon to every column header using the ColHeaderIcon property.

If it is not what you needed, or you need a code sample, let us know. It would be also nice to see a screenshot of what you need to implement.
assaeful
2013-12-11T10:08:42Z
Thanks, now I cant insert picture in Active X Igrid.

And now I want to setting picture in header but we have trouble setting picture in Igrid Header:

Appointment Book.png

Click to View Image112 View(s)



Below coding i use in vb 6.0 to include in igrid image header, please correction my Coding.

Do While Not rs.EOF
	.Header.ImageList = HdrImgList
	'add the columns using operator no
	'.AddCol sKey:="rsvtnid" & CInt(rs.fields("rsvtnid"))
	.AddCol sKey:="OpNo" & CStr(rs.fields("OperatorNo")), _
		sheader:=ReplaceNull(rs.fields("OperatorName"), "OperatorName"), iIconIndex:=HdrImgList.ItemIndex("User"), eHdrTextFlags:=igTextBottom, _
		lwidth:=500, lMaxWidth:=100
		.ColDefaultCell("OpNo" & CStr(rs.fields("OperatorNo"))).eTextFlags = igTextLeft
	With .Header.Font
		.Name = "Arial Narrow"
		.Size = 10
		.Bold = True
	End With

	rs.MoveNext
Loop
Igor/10Tec
2013-12-12T08:01:08Z
Sorry, but in iGrid the column header icon is always placed at the left edge of the column header, and the column header text is placed at the right of it.
assaeful
2013-12-12T09:38:45Z
Ok, Thanks your explanation