Monday 13 June 2016

End of 3rd Week: Strings and Tooltips

Hi all,

Posting after almost 2 weeks. 3rd Week of GSoC has passed and everyone are working on full potential.

In the second week I was working on Tool-tips but had few confusions regarding what exactly is needed or would be accepted by user. After a brief discussion with mentors I got a clear Idea and I implemented the required tweaks.

Starting with Strings:



This is the initial state of the table

After moving a column and then checking the string/data of the table:



On changing the the column position, the position of data in the string also changes.

Moving on to Tool-tips:

Simply assigning tooltip to the each cell by passing a matrix of String values.



On changing the column position the tooltip assigned to particular cell remains intact with that cell.




As per discussion on passing the value->"values": the value of data in each cell becomes the value of tooltip for that cell. This also stand for column header and each cell in the main table


Note: For now I have not implemented tooltips for rowheader because I need to provide a functionality where user can decide whether table should have rowheader or not. So I will provide the tooltips for rowheader when I work on that functionality.

To pass tooltip for column header one has to pass a flag at the beginning of the tooltip matrix to assign tooltips to the column header. On changing the position of column the tooltips remain intact with the cell they were assigned to.


On passing the  flag columnheader-values the values of data of each cell becomes the tooltips of that cell.



These are some the tweaks I have been working on lately. Some other functionality that I have already implemented are sorting which I will demonstrate in the next blog

Thanks for reading, stay tuned :)

RJ

No comments:

Post a Comment