|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
I am Brazilian, with English are sorry ... I am analyzing the component GRID, then to buy a license.
But when I realized that the function grid.deleteItem (itemIndex), the line is the most excluded grid maintains a blank space.
would have to remove this space, regarding the lines outside ...
thank ...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, grid.deleteItem should delete the item and also do not leave any blank space. You can see a working example here: http://demo.essentialobjects.com/Default.aspx?path=Grid\_i1\_i9If what's happening with you is different, please try to separate the issue into a test page and post the test page here. We will then try to run it in our test environment and see if we can see the same problem. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
I look at an example of the link you sent, the error also happens in your example. to verify the error just delete all the registry, done that continues the grid as if with all items, but it is blank ...
after having excluded all records of the scroll grid is as many records were.
Thanks...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This is just to let you know that we are still working on this issue.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
OK,
waiting ...
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that addressed this issue. Please see your private message for download location.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
thank you, it was perfect
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You are welcome. Please let us know if you need anything else from us.
|
|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
well I'm still testing whether it corresponds to my needs.
there is a way to include images in the grid and put a link on them.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Yes. You can do almost everything that you can do with HTML with the Grid. You would usually use a StaticColumn but set the Columns' DataFormat to some HTML. For example, if your data source has an "image_url" field that contains the Url of the image that you wish to display (for example, "abc.gif"), then you would set the columns' DataFormat to:
<img src="{0}" />
At runtime the Grid takes data from your data source ("abc.gif" in this case), then format it with DataFormat. It then display the formatted result (<img src="abc.gif" /> in this case) in the Grid cell. If you do not set DataFormat, the Grid will display the path (“abc.gif”) directly.
You can implement HTML links the same way.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 7/19/2009 Posts: 9
|
it is possible to include a picture and click on the same fire when the event ClientSideOnItemCommand.
I like this: StaticColumn DataField -> img_excluir DataFormat -> <img style="cursor:pointer" src="{0}" />
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You would use it the same way but use a ButtonColumn instead of a StaticColumn. Make sure your ButtonColumn's ButtonText property is empty.
|
|